From 31f1becdcb8d18e8c70737f2762cc11cc9d6e4d1 Mon Sep 17 00:00:00 2001 From: gardar Date: Tue, 10 Sep 2024 13:00:00 +0000 Subject: [PATCH] fix: default sources need to be cleared before defining a new source [noissue] Signed-off-by: gardar --- docs/user/guides/cache.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/user/guides/cache.md b/docs/user/guides/cache.md index deb33d9b..6887aca6 100644 --- a/docs/user/guides/cache.md +++ b/docs/user/guides/cache.md @@ -78,8 +78,7 @@ Use the Gem Distribution's `base_url` as the value for the `--source` parameter. === "run" ```bash - gem install --source http://localhost:5001/pulp/content/rubygems/ \ - --clear-sources pulpcore_client + gem install --clear-sources --source http://localhost:5001/pulp/content/rubygems/ pulpcore_client ``` === "output" ```bash @@ -114,4 +113,4 @@ Use the Gem Distribution's `base_url` as the value for the `--source` parameter. Fetching: pulpcore_client-3.46.0.gem (182784B) Successfully installed pulpcore_client-3.46.0 15 gems installed - ``` \ No newline at end of file + ```