diff options
| author | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2013-12-31 01:05:19 -0200 |
|---|---|---|
| committer | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2013-12-31 01:05:19 -0200 |
| commit | 7b0fb8222b36d914e917989b0360c6e1653d3c7b (patch) | |
| tree | a39e7518330c468159e62a6f66d7cbffb08d286d /bin | |
| parent | 390dcc2f2766d6aae3f74c4776db33b43800fdd9 (diff) | |
| download | bundler-7b0fb8222b36d914e917989b0360c6e1653d3c7b.tar.gz | |
Use the thor debug option instead of the environment variable
Fixes #2790
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/bundle | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/bundle b/bin/bundle index 3456c5e875..7bfdd3a214 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) } |
