Cannot install gems from gzip-compressing gem server

Issue #9562 has been updated by Akinori MUSHA.

Eric, I think the problem is that Gem::RemoteFetcher#fetch_path fails in
Gem.gunzip data if the data is already decoded by Net::HTTP of Ruby
2.0 and later.
It happens when the HTTP server is configured to set a
Content-Encoding: gzip header for .gz files, which itself is not
necessarily a misconfiguration.


Bug #9562: Cannot install gems from gzip-compressing gem server

  • Author: 5 5
  • Status: Rejected
  • Priority: Normal
  • Assignee: Eric H.
  • Category: lib/rubygems
  • Target version: current: 2.2.0
  • ruby -v: ruby 2.0.0p353 (2013-11-22) [i386-mingw32]
  • Backport: 1.9.3: DONTNEED, 2.0.0: REQUIRED, 2.1: REQUIRED