summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-02-05 11:23:15 -0600
committerSamuel Giddins <segiddins@segiddins.me>2016-02-22 19:46:07 -0600
commit7f2dd5b3baeb8891403bb2496619feeabfb010cd (patch)
treef3cb5b2f26cc7a3d204a65e57b51307bb1f98f29
parent34d896710a9445ebeb793185acf218f369c76db6 (diff)
downloadbundler-7f2dd5b3baeb8891403bb2496619feeabfb010cd.tar.gz
[Exec] Ensure failure loading is printed to STDERR
-rw-r--r--lib/bundler/cli/exec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/cli/exec.rb b/lib/bundler/cli/exec.rb
index 0caba8721b..c7f8d0ec07 100644
--- a/lib/bundler/cli/exec.rb
+++ b/lib/bundler/cli/exec.rb
@@ -65,8 +65,7 @@ module Bundler
rescue Exception => e # rubocop:disable Lint/RescueException
Bundler.ui = ui
Bundler.ui.error "bundler: failed to load command: #{cmd} (#{file})"
- Bundler.ui.trace(e, nil, true)
- exit 125
+ abort "#{e.class}: #{e.message}\n#{e.backtrace.join("\n ")}"
end
def ruby_shebang?(file)