summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-10-03 13:03:21 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-08 09:04:28 +0900
commit05ea3bcf14f27e1b3c6d7dd97889d02f988b8920 (patch)
tree7c0d6e15eae6c960b5eb4dafb8363177d2c98c04 /lib
parent5b076e00ce138ab4a81f0951dc23b82f015f011e (diff)
[rubygems/rubygems] Remove redundant error class
It's a `BundlerError`. https://github.com/rubygems/rubygems/commit/53ea676dab
Diffstat (limited to 'lib')
-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 c855c7afa0..1c8a24975d 100644
--- a/lib/bundler/installer/gem_installer.rb
+++ b/lib/bundler/installer/gem_installer.rb
@@ -21,7 +21,7 @@ module Bundler
raise
rescue Errno::ENOSPC
[false, out_of_space_message]
- rescue Bundler::BundlerError, Gem::InstallError, Bundler::APIResponseInvalidDependenciesError => e
+ rescue Bundler::BundlerError, Gem::InstallError => e
[false, specific_failure_message(e)]
end