mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Fix RubyGems for 1.9, r1780
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9d4f37f51f
commit
215fbc639f
10 changed files with 86 additions and 90 deletions
|
@ -133,7 +133,7 @@ class Gem::DependencyInstaller
|
|||
deps.each do |dep|
|
||||
results = find_gems_with_sources(dep).reverse
|
||||
|
||||
results.reject! do |spec,|
|
||||
results.reject! do
|
||||
@source_index.any? do |_, installed_spec|
|
||||
dep.name == installed_spec.name and
|
||||
dep.version_requirements.satisfied_by? installed_spec.version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue