diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index 329e90cdf82c26..26a69a1f058d78 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -350,11 +350,6 @@ def install 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: