summaryrefslogtreecommitdiff
path: root/lib/rubygems/installer.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2023-10-25 21:30:43 +0200
committerHiroshi SHIBATA <[email protected]>2023-11-08 09:04:28 +0900
commit2d719cd1468334a3507e4194a173da743b9987d1 ()
treef09c6de7fd8e23f9c691fd80d241acc64605fdaa /lib/rubygems/installer.rb
parentca7444cc44b1e939a31aa4366727b1ad09faa626 (diff)
[rubygems/rubygems] Remove unnecessary rescue
https://.com/rubygems/rubygems/commit/c0b549f943
-rw-r--r--lib/rubygems/installer.rb5
1 files changed, 0 insertions, 5 deletions
@@ -350,11 +350,6 @@ class Gem::Installer
run_post_install_hooks
spec
-
- # TODO: This rescue is in the wrong place. What is raising this exception?
- # move this rescue to around the code that actually might raise it.
- rescue Zlib::GzipFile::Error
- raise Gem::InstallError, "gzip error installing #{gem}"
end
def run_pre_install_hooks # :nodoc: