diff options
author | David RodrÃguez <[email protected]> | 2024-07-18 20:01:02 +0200 |
---|---|---|
committer | git <[email protected]> | 2024-10-30 19:38:07 +0000 |
commit | 116d6cbc834c5c58a414d94f93f54e1007c0b60b () | |
tree | 022ca146e8e3b455314ad3c7be08bc42c38781e5 /lib/rubygems/installer.rb | |
parent | 1e1a37220b18873cd227da2e9b788a62c41707df (diff) |
[rubygems/rubygems] Simplify enable-load-relative prolog script creation
https://.com/rubygems/rubygems/commit/f2ed507afe
-rw-r--r-- | lib/rubygems/installer.rb | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -998,18 +998,13 @@ TEXT def bash_prolog_script if load_relative_enabled? - script = +<<~EOS - bindir="${0%/*}" - EOS - - script << %(exec "$bindir/#{ruby_install_name}" "-x" "$0" "$@"\n) - <<~EOS #!/bin/sh # -*- ruby -*- _=_\\ =begin - #{script.chomp} =end EOS else |