Permalink
Browse files

Use the thor debug option instead of the environment variable

Fixes #2790
  • Loading branch information...
1 parent a5a283d commit d8f0c6796a1ac091ca162754498adc2ddedc5bea Rafael Mendonça França committed with indirect Dec 31, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 bin/bundle
View
4 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) }

0 comments on commit d8f0c67

Please sign in to comment.