summaryrefslogtreecommitdiff
path: root/lib/rubygems
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-11-22 11:23:08 +0100
committergit <[email protected]>2024-11-25 14:56:09 +0000
commit77990f67518382e0eb25af30d7d120957ba70285 (patch)
tree7eacb46366757fd99e50db965e12fd850a3db0ae /lib/rubygems
parent4e6ada3ae4e81d27270b0205eaa778a824cb09c6 (diff)
[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
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/commands/update_command.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rubygems/commands/update_command.rb b/lib/rubygems/commands/update_command.rb
index a4227b8ca1..d9740d814a 100644
--- a/lib/rubygems/commands/update_command.rb
+++ b/lib/rubygems/commands/update_command.rb
@@ -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 ||=