[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:
parent
caf0d2058a
commit
b77ff342cc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user