Skip to content

Commit

Permalink
fix: default sources need to be cleared before defining a new source
Browse files Browse the repository at this point in the history
[noissue]

Signed-off-by: gardar <[email protected]>
  • Loading branch information
gardar committed Sep 10, 2024
1 parent 0ab6804 commit ef795d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/user/guides/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
```
```

0 comments on commit ef795d5

Please sign in to comment.