diff --git a/lib/rubygems/commands/update_command.rb b/lib/rubygems/commands/update_command.rb index a822f095bf..64e0b4a7a0 100644 --- a/lib/rubygems/commands/update_command.rb +++ b/lib/rubygems/commands/update_command.rb @@ -322,6 +322,7 @@ command to remove old versions. private def oldest_supported_version + # for Ruby 2.3 @oldest_supported_version ||= Gem::Version.new("2.5.2") end end