1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rubygems: Update to RubyGems master b955554. Changes:

Fixed NameError for Gem::Ext due to re-entering file lookup in
  RubyGems' overridden require.  Bug by Koichi Sasada.

  Fixed possible circular require warning in tests.

  Used existing constant for `gem install -g` dependecy file list.

* test/rubygems:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-10-16 06:00:39 +00:00
parent 33d1f172c8
commit e775a930e1
4 changed files with 15 additions and 4 deletions

View file

@ -35,7 +35,7 @@ class Gem::Commands::InstallCommand < Gem::Command
add_option(:"Install/Update", '-g', '--file [FILE]',
'Read from a gem dependencies API file and',
'install the listed gems') do |v,o|
v = %w[gem.deps.rb Gemfile Isolate].find do |file|
v = Gem::GEM_DEP_FILES.find do |file|
File.exist? file
end unless v