Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Report errors from bundler/setup.rb without backtraces
Browse files Browse the repository at this point in the history
Closes #243
  • Loading branch information
indirect committed Apr 3, 2010
1 parent 025cc0a commit 6f45141
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/bundler/setup.rb
Expand Up @@ -9,6 +9,11 @@
else
require 'rubygems'
require 'bundler'
Bundler.setup
begin
Bundler.setup
rescue Bundler::BundlerError => e
puts "\e[31m#{e.message}\e[0m"
exit e.status_code
end
end
end

0 comments on commit 6f45141

Please sign in to comment.