Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Commands::UpdateCommand#oldest_supported_version
oldest_supported_version
lib/rubygems/commands/update_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/commands/update_command.rb, line 327
def oldest_supported_version
@oldest_supported_version ||=
if Gem.ruby_version > Gem::Version.new("3.1.a")
Gem::Version.new("3.3.3")
else
Gem::Version.new("3.2.3")
end
end
Oldest version we support downgrading to. This is the version that originally ships with the first patch version of each ruby, because we never test each ruby against older rubygems, so we can’t really guarantee it works. Version list can be checked here: stdgems.org/rubygems
See also
#execute
#preparing_gem_layout_for
.new
#rubygems_target_version
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0