diff options
author | Andre Arko <andre@arko.net> | 2011-11-30 12:58:55 -1000 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2011-11-30 13:00:01 -1000 |
commit | af400195ddd6866b6188ed29a87efc105522c740 (patch) | |
tree | 810ca38c129a8da297574fe797c1f8e644032f62 /bin | |
parent | 95dc86b106143a7df8c23ee7fc6901ab7e57077d (diff) | |
download | bundler-af400195ddd6866b6188ed29a87efc105522c740.tar.gz |
stop asking for tickets on non-Bundler errors
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bundle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/bundle b/bin/bundle index 5e9dc164bf..39bbaf7640 100755 --- a/bin/bundle +++ b/bin/bundle @@ -21,7 +21,11 @@ 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!" |