Skip to content

Commit 30b344c

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Change code examples to not use the default source
ruby/rubygems@0ccf323734
1 parent 358735b commit 30b344c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/rubygems/commands/sources_command.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,16 @@ def description # :nodoc:
149149
150150
To add a source use the --add argument:
151151
152-
$ gem sources --add https://rubygems.org
153-
https://rubygems.org added to sources
152+
$ gem sources --add https://my.private.source
153+
https://my.private.source added to sources
154154
155155
RubyGems will check to see if gems can be installed from the source given
156156
before it is added.
157157
158158
To remove a source use the --remove argument:
159159
160-
$ gem sources --remove https://rubygems.org/
161-
https://rubygems.org/ removed from sources
160+
$ gem sources --remove https://my.private.source/
161+
https://my.private.source/ removed from sources
162162
163163
EOF
164164
end

0 commit comments

Comments
 (0)