diff options
| author | Felipe Tanus <fotanus@gmail.com> | 2015-11-30 13:54:04 -0200 |
|---|---|---|
| committer | Felipe Tanus <fotanus@gmail.com> | 2015-11-30 13:54:04 -0200 |
| commit | cc1b21fea95edd1f72774e447d2d15288eae6e33 (patch) | |
| tree | 86b2e4e3fb2ec020e06fe27718a9331d5de7b2f0 | |
| parent | 77b991f60a3cbf33cda5965a5c815a1770a2a9aa (diff) | |
| download | bundler-enoexec.tar.gz | |
Deal with ENOEXECenoexec
| -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 7aad040fab..d1af0b8bb7 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 |
