[rubygems/rubygems] Revert "Fix bundle.bat re-execution"

This reverts commit https://github.com/rubygems/rubygems/commit/e04e00f7bb5b.

https://github.com/rubygems/rubygems/commit/554ece1587
This commit is contained in:
David Rodríguez 2024-10-09 17:19:55 +02:00 committed by git
parent caf0d2058a
commit b77ff342cc

View File

@ -85,7 +85,7 @@ module Bundler
cmd = [*Shellwords.shellsplit(bundler_spec_original_cmd), *ARGV]
else
cmd = [$PROGRAM_NAME, *ARGV]
cmd.unshift(Gem.ruby) unless File.executable?($PROGRAM_NAME) || $PROGRAM_NAME.end_with?(".bat")
cmd.unshift(Gem.ruby) unless File.executable?($PROGRAM_NAME)
end
Bundler.with_original_env do