aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-10-25 21:30:43 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-08 09:04:28 +0900
commit2d719cd1468334a3507e4194a173da743b9987d1 (patch)
treef09c6de7fd8e23f9c691fd80d241acc64605fdaa
parentca7444cc44b1e939a31aa4366727b1ad09faa626 (diff)
downloadruby-2d719cd1468334a3507e4194a173da743b9987d1.tar.gz
[rubygems/rubygems] Remove unnecessary rescue
https://github.com/rubygems/rubygems/commit/c0b549f943
-rw-r--r--lib/rubygems/installer.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index 329e90cdf8..26a69a1f05 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -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: