mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to RubyGems 1.3.0 r1891
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
788001a9c8
commit
d478c7a734
60 changed files with 2174 additions and 1049 deletions
|
@ -51,7 +51,7 @@ class Gem::Commands::ContentsCommand < Gem::Command
|
|||
|
||||
si = Gem::SourceIndex.from_gems_in(*s)
|
||||
|
||||
gem_spec = si.search(/\A#{gem}\z/, version).last
|
||||
gem_spec = si.find_name(gem, version).last
|
||||
|
||||
unless gem_spec then
|
||||
say "Unable to find gem '#{gem}' in #{path_kind}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue