[rubygems/rubygems] Remove comment about oldest supported version

That's indeed the ideal behavior but it's a mess to maintain because the
version of RubyGems shipped with each patchlevel of Ruby changes. We
could try looking at the `VERSION` constant in `
RbConfig::CONFIG["rubylibdir"` but for now I calling what's in there now
as good enough.

https://github.com/rubygems/rubygems/commit/40ccf2b093
This commit is contained in:
David Rodríguez 2024-11-22 11:23:08 +01:00 committed by git
parent 4e6ada3ae4
commit 77990f6751

View File

@ -317,9 +317,7 @@ command to remove old versions.
#
# 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: https://stdgems.org/rubygems
# originally ships with the oldest supported patch version of ruby.
#
def oldest_supported_version
@oldest_supported_version ||=