From 10375d3e8f6f0a07e8da8614da50fd85493a8779 Mon Sep 17 00:00:00 2001 From: Terence Lee Date: Tue, 6 Dec 2011 15:00:54 -0800 Subject: Revert "stop asking for tickets on non-Bundler errors" This reverts commit af400195ddd6866b6188ed29a87efc105522c740. This is broken since Gem::InstallError and Gem::Installer::ExtensionBuildError aren't aren't in the namespace if a gem install error doesn't happen. --- bin/bundle | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bin') diff --git a/bin/bundle b/bin/bundle index 39bbaf7640..5e9dc164bf 100755 --- a/bin/bundle +++ b/bin/bundle @@ -21,11 +21,7 @@ rescue Interrupt => e exit 1 rescue SystemExit => e exit e.status -rescue LoadError, Gem::InstallError, Gem::Installer::ExtensionBuildError => e - # known errors, something went wrong outside Bundler - raise e rescue Exception => e - # unknown errors, hopefully we can fix them Bundler.ui.error "Unfortunately, a fatal error has occurred. " + "Please report this error to the Bundler issue tracker at " + "https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!" -- cgit v1.2.1