mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.3.
Please see entries of 2.6.3 on https://github.com/rubygems/rubygems/blob/master/History.txt git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ea736d55f9
commit
469bac0f92
31 changed files with 212 additions and 187 deletions
|
|
@ -104,7 +104,7 @@ module Kernel
|
|||
|
||||
# Ok, now find a gem that has no conflicts, starting
|
||||
# at the highest version.
|
||||
valid = found_specs.reject { |s| s.has_conflicts? }.last
|
||||
valid = found_specs.reject { |s| s.has_conflicts? }.first
|
||||
|
||||
unless valid then
|
||||
le = Gem::LoadError.new "unable to find a version of '#{names.first}' to activate"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue