From: Yasuhiro MISE Date: 2008-12-31T13:03:22+09:00 Subject: [ruby-core:21005] [Bug #888] zlib 1.2.3 does not work with Rubygems 1.3.1 (in Ruby 1.9.1) on Windows Issue #888 has been updated by Yasuhiro MISE. Eric Hodel wrote: > For what it's worth, I'd really like to see the root cause of this bug > fixed so this method can be returned to a simpler form: > > def zipped_stream(entry) > zis = Zlib::GzipReader.new entry > dis = zis.read > is = StringIO.new(dis) > ensure > zis.finish if zis > end > > Or even: > > def zipped_stream(entry) > Zlib::GzipReader.new entry > end Thanks your advice, and yes, each forms works fine! Hope that Chauk-Mean can also confirm that these forms fix this issue. > I'm fairly certain the bug doesn't exist in RubyGems I agree, and I also agree to Luis's indication: > Gregory Brown offered backport the zlib tests from 1.9 to 1.8 in > [ruby-core:20602] > > Maybe those can help pinpoint the root of the problem. Y. MISE ---------------------------------------- http://redmine.ruby-lang.org/issues/show/888 ---------------------------------------- http://redmine.ruby-lang.org