diff options
Diffstat (limited to 'bin/bundler')
| -rwxr-xr-x | bin/bundler | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/bundler b/bin/bundler index 35941a2ae4..2e27f7e433 100755 --- a/bin/bundler +++ b/bin/bundler @@ -1,10 +1,10 @@ #!/usr/bin/env ruby -require 'bundler' -require 'bundler/cli' +# Exit cleanly from an early interrupt +Signal.trap("INT") { exit 1 } -ui = Bundler::UI::Shell.new -ui.error "It's recommended to use Bundler through 'bundle' binary instead of 'bundler'" - -bin = "#{File.dirname(__FILE__)}/bundle #{ARGV.join(" ")}" -exec bin +require 'bundler/friendly_errors' +Bundler.with_friendly_errors do + require 'bundler/cli' + Bundler::CLI.start(ARGV, :debug => true) +end |
