mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
Merge rubygems master branch from github.com/rubygems/rubygems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ff31b35f6a
commit
615ac35934
62 changed files with 386 additions and 410 deletions
|
@ -168,12 +168,8 @@ command to remove old versions.
|
|||
Dir.chdir update_dir do
|
||||
say "Installing RubyGems #{version}"
|
||||
|
||||
# Make sure old rubygems isn't loaded
|
||||
old = ENV["RUBYOPT"]
|
||||
ENV.delete("RUBYOPT") if old
|
||||
installed = system Gem.ruby, 'setup.rb', *args
|
||||
installed = system Gem.ruby, '--disable-gems', 'setup.rb', *args
|
||||
say "RubyGems system software updated" if installed
|
||||
ENV["RUBYOPT"] = old if old
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue