aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorRafael Mendonça França <rafael.franca@plataformatec.com.br>2013-12-31 01:05:19 -0200
committerRafael Mendonça França <rafael.franca@plataformatec.com.br>2013-12-31 01:05:19 -0200
commit7b0fb8222b36d914e917989b0360c6e1653d3c7b (patch)
treea39e7518330c468159e62a6f66d7cbffb08d286d /bin
parent390dcc2f2766d6aae3f74c4776db33b43800fdd9 (diff)
downloadbundler-7b0fb8222b36d914e917989b0360c6e1653d3c7b.tar.gz
Use the thor debug option instead of the environment variable
Fixes #2790
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bundle4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/bundle b/bin/bundle
index 3456c5e8..7bfdd3a2 100755
--- a/bin/bundle
+++ b/bin/bundle
@@ -15,8 +15,6 @@ $LOAD_PATH.each do |path|
end
require 'bundler/cli'
-# Force Thor to raise exceptions so we can exit non-zero.
-ENV["THOR_DEBUG"] = "1"
require 'bundler/friendly_errors'
-Bundler.with_friendly_errors { Bundler::CLI.start }
+Bundler.with_friendly_errors { Bundler::CLI.start(ARGV, :debug => true) }