summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerence Lee <hone02@gmail.com>2011-12-06 15:00:54 -0800
committerTerence Lee <hone02@gmail.com>2011-12-06 15:00:54 -0800
commit10375d3e8f6f0a07e8da8614da50fd85493a8779 (patch)
tree70521bf09984d8b8a353794b681f7b9d6105afe5
parent29a9b29c610968b459a9bd76e5e7d21a9fc9e502 (diff)
downloadbundler-10375d3e8f6f0a07e8da8614da50fd85493a8779.tar.gz
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.
-rwxr-xr-xbin/bundle4
1 files changed, 0 insertions, 4 deletions
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!"