[rubygems/rubygems] add relative path support for bundle exec
https://github.com/rubygems/rubygems/commit/c982085f86
This commit is contained in:
parent
d2c55e33fb
commit
e18fb1281a
@ -22,6 +22,7 @@ module Bundler
|
|||||||
if !Bundler.settings[:disable_exec_load] && ruby_shebang?(bin_path)
|
if !Bundler.settings[:disable_exec_load] && ruby_shebang?(bin_path)
|
||||||
return kernel_load(bin_path, *args)
|
return kernel_load(bin_path, *args)
|
||||||
end
|
end
|
||||||
|
bin_path = "./" + bin_path unless File.absolute_path?(bin_path)
|
||||||
kernel_exec(bin_path, *args)
|
kernel_exec(bin_path, *args)
|
||||||
else
|
else
|
||||||
# exec using the given command
|
# exec using the given command
|
||||||
|
Loading…
x
Reference in New Issue
Block a user