summaryrefslogtreecommitdiff
path: root/lib/bundler/friendly_errors.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-05-21 15:32:06 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-05-23 13:46:52 -0500
commit53845c5c9dcdd6fd7acd7aaf7acf244b103cdd83 (patch)
treed55a7e00b44ec3a3087de567df2a914fe55f77cc /lib/bundler/friendly_errors.rb
parent7351eddd5b70f1fa707404386f2afe34a6127cf0 (diff)
downloadbundler-53845c5c9dcdd6fd7acd7aaf7acf244b103cdd83.tar.gz
[CLI] Only redirect to help whel first two args are help and execseg-exec-help-with-dash
Diffstat (limited to 'lib/bundler/friendly_errors.rb')
-rw-r--r--lib/bundler/friendly_errors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/friendly_errors.rb b/lib/bundler/friendly_errors.rb
index f7a10d0035..a01c03f25c 100644
--- a/lib/bundler/friendly_errors.rb
+++ b/lib/bundler/friendly_errors.rb
@@ -69,7 +69,7 @@ module Bundler
Error details
#{e.class}: #{e.message}
- #{e.backtrace.join("\n ")}
+ #{e.backtrace && e.backtrace.join("\n ")}
#{Bundler::Env.new.report(:print_gemfile => false, :print_gemspecs => false).gsub(/\n/, "\n ").strip}
--- TEMPLATE END ----------------------------------------------------------------