diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2025-07-09 18:28:02 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-07-14 11:52:13 +0900 |
| commit | f1cbd58acca3547d802c914b9a6509fc79b15f93 (patch) | |
| tree | e9e657a31d57fc3ec1772793b30fe2165f7073c3 | |
| parent | 51e890030fd27c49abd0e0bb46abfd42edc8d0b9 (diff) | |
[rubygems/rubygems] Stop generating binstubs with support for RubyGems before 2.6.2
RubyGems generated binstubs still provide support for this ancient
version. This makes no sense since we prevent downgrades to such old
versions.
https://github.com/rubygems/rubygems/commit/089cdc3b77
| -rw-r--r-- | lib/rubygems/installer.rb | 5 | ||||
| -rw-r--r-- | test/rubygems/test_gem_installer.rb | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index da93f33230..7a80b55f8b 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -771,12 +771,7 @@ if str end end -if Gem.respond_to?(:activate_bin_path) load Gem.activate_bin_path('#{spec.name}', '#{bin_file_name}', version) -else -gem #{spec.name.dump}, version -load Gem.bin_path(#{spec.name.dump}, #{bin_file_name.dump}, version) -end TEXT end diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb index 6d8a523507..1bb5371368 100644 --- a/test/rubygems/test_gem_installer.rb +++ b/test/rubygems/test_gem_installer.rb @@ -48,12 +48,7 @@ if str end end -if Gem.respond_to?(:activate_bin_path) load Gem.activate_bin_path('a', 'executable', version) -else -gem "a", version -load Gem.bin_path("a", "executable", version) -end EOF wrapper = installer.app_script_text "executable" |
