mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 18:13:58 +02:00
* lib/rubygems: Update to RubyGems 2.0.5.
The patch provided by drbrain (Eric Hodel). [ruby-core:55896] [Backport #8617] * test/rubygems: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
65dc7d004e
commit
b264a7ac99
37 changed files with 362 additions and 116 deletions
|
@ -94,7 +94,7 @@ class Gem::Commands::UpdateCommand < Gem::Command
|
|||
|
||||
say "Updating #{name}"
|
||||
begin
|
||||
@installer.install name, version
|
||||
@installer.install name, Gem::Requirement.new(version)
|
||||
success = true
|
||||
rescue Gem::InstallError => e
|
||||
alert_error "Error installing #{name}:\n\t#{e.message}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue