diff options
-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 7aad040f..d1af0b8b 100644 --- a/lib/bundler/cli/exec.rb +++ b/lib/bundler/cli/exec.rb @@ -33,7 +33,7 @@ module Bundler Bundler.load.setup_environment Bundler.ui = nil Kernel.exec(@cmd, *args) - rescue Errno::EACCES + rescue Errno::EACCES, Errno::ENOEXEC Bundler.ui = ui Bundler.ui.error "bundler: not executable: #{cmd}" exit 126 |