method
check_latest_rubygems
v2_1_10 -
Show latest stable
- Class:
Gem::Commands::UpdateCommand
check_latest_rubygems(version)public
No documentation available.
# File lib/rubygems/commands/update_command.rb, line 68
def check_latest_rubygems version # :nodoc:
if Gem.rubygems_version == version then
say "Latest version currently installed. Aborting."
terminate_interaction
end
options[:user_install] = false
end