diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-01-24 12:30:09 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-01-25 18:52:21 -0600 |
commit | 4babaf1abc58056c8e02f4344bba675792e737ad (patch) | |
tree | 7e6a7375e278e8e33a32b822585a2e3c521dfdb7 | |
parent | 228da8e266c39512eee3121a41d7eeba7eb0f06b (diff) | |
download | bundler-seg-exec-spaces.tar.gz |
[Exec] Fix exec-ing with 0 args in a directory with spacesseg-exec-spaces
-rw-r--r-- | lib/bundler/cli/exec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/exec.rb b/lib/bundler/cli/exec.rb index d1af0b8bb7..8b828edf87 100644 --- a/lib/bundler/cli/exec.rb +++ b/lib/bundler/cli/exec.rb @@ -25,7 +25,7 @@ module Bundler bin_path = Bundler.which(@cmd) if bin_path Bundler.ui = nil - Kernel.exec(bin_path, *args) + Kernel.exec([bin_path, @cmd], *args) end # If that didn't work, set up the whole bundle |