[Rubygems-developers] ZLib bites us again.
djberg96 at gmail.com
Wed Jun 20 08:34:38 EDT 2007
Jim Weirich wrote:
> Version 0.9.3 (IIRC) set the ZLib code in package.rb to always read from
> a memory string rather than a FileIO object. This was to avoid buffer
> errors on Windows boxen. Unfortunately, it seems that we still get zlib
> problems. Jamis Buck reported a problem with the capistrano gem on
> windows XP. After some deep diving, he came up with with a workaround
> version of zipped_stream that doesn't blow up with a buffer error ... at
> least for this time around. Essentially, Jamis's fix replaces
> GZipReader with some Ruby code that does the equivalent directly with
> ZLib calls.
Given the colossal number of warnings that spew from building the zlib
bindings, I'm inclined to fix those first before proceeding to
investigate the MS Windows issues. But, I'll see what I can do.
Can you provide a link to Jamis' post? I must have missed it.
More information about the Rubygems-developers