Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use the thor debug option instead of the environment variable

Fixes #2790
  • Loading branch information...
commit d8f0c6796a1ac091ca162754498adc2ddedc5bea 1 parent a5a283d
Rafael Mendonça França rafaelfranca authored indirect committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 bin/bundle
4 bin/bundle
View
@@ -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) }
Please sign in to comment.
Something went wrong with that request. Please try again.