This returns a ZLib buffer error that updating to the latest version
of RubyGems hasn't fixed.
Can anyone advise on a next step to take to solve this?
I'm not massively au-fait with gems, and this is the first gem I've
tried to install that returned this error.
Sorry that's all a little vague.
Cheers,
Doug.
def zipped_stream(entry)
entry.read(10) # skip the gzip header
zis = Zlib::Inflate.new(-Zlib::MAX_WBITS)
is = StringIO.new(zis.inflate(entry.read))
ensure
zis.finish if zis
end
~Jeremy
On Oct 29, 12:42 pm, "doug livesey" <biot...@gmail.com> wrote:
> That worked a charm, thanks, man!
> Doug.
>
Resolution :There is also talk of changing that line to:
Edit C:\Program Files\Ruby\lib\ruby\site_ruby\1.8\rubygems\package.rb:610 :
-if Zlib::ZLIB_VERSION < ' 1.2.1'
+if Zlib::ZLIB_VERSION <= '1.2.1'
-if Zlib::ZLIB_VERSION < '1.2.1'
+if Zlib::ZLIB_VERSION <= '1.2.3'