mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge rubygems-2.6.12 from rubygems/rubygems.
* Details of changes:0090800402/History.txt (L3)
* I kept ko1's commmit related thread issue. It's not merged 2.6 branch on rubygems.1721dfa0ea
* I removed test_realworld_default_gem from rubygems-2.6.12. It fails on Ruby trunk. Because it's differences of test suite and environment. https://github.com/rubygems/rubygems/pull/1899 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
abb8b33011
commit
708a10d35b
16 changed files with 164 additions and 18 deletions
|
@ -44,7 +44,7 @@ class Gem::Commands::SourcesCommand < Gem::Command
|
|||
source = Gem::Source.new source_uri
|
||||
|
||||
begin
|
||||
if Gem.sources.include? source_uri then
|
||||
if Gem.sources.include? source then
|
||||
say "source #{source_uri} already present in the cache"
|
||||
else
|
||||
source.load_specs :released
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue