summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)