summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-07-19 12:50:17 -0700
committerCarlhuda <carlhuda@engineyard.com>2010-07-19 12:50:17 -0700
commitc26b2c309432bdcc5397ac0d3bac3831c2a30929 (patch)
tree786271082a48ed0db561632a6f66af84f7b7cf06 /bin
parentacf0d935cfb1144799d094374e637b2475e53aec (diff)
downloadbundler-c26b2c309432bdcc5397ac0d3bac3831c2a30929.tar.gz
Fix bug where bundle update foo wasn't working in many git cases
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bundle3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bundle b/bin/bundle
index d2e50814b5..f7b0dbc6cf 100755
--- a/bin/bundle
+++ b/bin/bundle
@@ -13,8 +13,9 @@ begin
Bundler::CLI.start
rescue Bundler::BundlerError => e
Bundler.ui.error e.message
+ Bundler.ui.error e.backtrace.join("\n") if ENV["BUNDLE_DEBUG"]
exit e.status_code
rescue Interrupt
Bundler.ui.error "\nQuitting..."
exit 1
-end \ No newline at end of file
+end