class Gem::Commands::UpdateCommand

def check_oldest_rubygems(version) # :nodoc:

:nodoc:
def check_oldest_rubygems(version) # :nodoc:
  if oldest_supported_version > version
    alert_error "rubygems #{version} is not supported on #{RUBY_VERSION}. The oldest version supported by this ruby is #{oldest_supported_version}"
    terminate_interaction 1
  end
end