Flowdock
method

install_rubygems

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: UpdateCommand
install_rubygems(version) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/update_command.rb, line 163
  def install_rubygems(version) # :nodoc:
    args = update_rubygems_arguments

    update_dir = File.join Gem.dir, 'gems', "rubygems-update-#{version}"

    Dir.chdir update_dir do
      say "Installing RubyGems #{version}"

      installed = system Gem.ruby, '--disable-gems', 'setup.rb', *args
      say "RubyGems system software updated" if installed
    end
  end
Register or log in to add new notes.