summaryrefslogtreecommitdiff
path: root/lib/bundler/installer
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-02-12 22:17:35 -0800
committerSamuel Giddins <segiddins@segiddins.me>2017-02-13 14:10:19 -0600
commit659c1f9703fb4a12f36ff0c992eb5fd03c6a1c32 (patch)
tree5c890b402b2288702fbe440fa9bf1b41a3be6053 /lib/bundler/installer
parent09358d459565c39314eea933020c8f848b3cfce0 (diff)
downloadbundler-659c1f9703fb4a12f36ff0c992eb5fd03c6a1c32.tar.gz
Fail gracefully when installing a spec where the API is missing deps
Diffstat (limited to 'lib/bundler/installer')
-rw-r--r--lib/bundler/installer/gem_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer/gem_installer.rb b/lib/bundler/installer/gem_installer.rb
index b6eb221389..0589d14e40 100644
--- a/lib/bundler/installer/gem_installer.rb
+++ b/lib/bundler/installer/gem_installer.rb
@@ -16,7 +16,7 @@ module Bundler
Bundler.ui.debug "#{worker}: #{spec.name} (#{spec.version}) from #{spec.loaded_from}"
generate_executable_stubs
return true, post_install_message
- rescue Bundler::InstallHookError, Bundler::SecurityError
+ rescue Bundler::InstallHookError, Bundler::SecurityError, APIResponseMismatchError
raise
rescue Errno::ENOSPC
return false, out_of_space_message