Hi Kaspar,

Thanks for the response.

I tried running again with --debug, and got the following:

D:\RMagick-1.9.1-IM-6.2.3-win32>gem install
RMagick-win32-1.9.1-mswin32.gem --debug
Exception `Errno::ENOENT' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:12 - No such
file or directory - D:\
User Profiles\nvanweerdenburg.PTCNET/.gemrc
Attempting local installation of 'RMagick-win32-1.9.1-mswin32.gem'
Exception `Zlib::BufError' at
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:348 - buffer error
ERROR:  Error installing gem RMagick-win32-1.9.1-mswin32.gem[.gem]: buffer error

putting some outputs into rubygems/package.rb:
@read=2682880, @size=8780608
len=2048
max_read=2048
@read=2684928, @size=8780608
len=2048
max_read=2048
@read=2686976, @size=8780608
len=2048
max_read=2048
@read=2689024, @size=8780608
len=2048
max_read=2048
@read=2691072, @size=8780608
len=2048
max_read=2048
Exception `Zlib::BufError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb
:352 - buffer error
ERROR:  Error installing gem RMagick-win32-1.9.1-mswin32.gem[.gem]: buffer error

It looks like it was going okay until about a 1/3 of the way through
the current entry. A bunch run sucessfully before this one.

I'm rather stuck now.  What's the manual install effort? Any hints or tips?

Thanks,
Nick

On 9/13/05, Kaspar Schiess <eule / space.ch> wrote:
> Hello Nick,
> 
> > D:\RMagick-1.9.1-IM-6.2.3-win32>gem install
> > RMagick-win32-1.9.1-mswin32.gem Attempting local installation of
> > 'RMagick-win32-1.9.1-mswin32.gem' ERROR:  Error installing gem
> > RMagick-win32-1.9.1-mswin32.gem[.gem]: buffer error
> I can reproduce that on some machines, although not on my testing machines.
> This is an error that somehow floats up trough the zlib library into
> rubygems, there is even code in rubygems to avoid that error, but it seems
> that it has hit again. (search for the words 'buffer' or 'error' in
> package.rb from rubygems)
> 
> I cannot really say how to fix this, I tried for a whole afternoon to no
> success. I guess replacing zlib.so would be an alternative, but I can't see
> where to download one. You could also try to enable the error avoidance
> branch in the above piece of code, maybe that solves the problem ?
> 
> If things get really tough, I can whip together a manual install, although
> that again would be a lot of work.
> 
> Tell me what works for you
> kaspar
> 
> --
> code manufacture & ruby lab at http://www.tua.ch/ruby
> 
> 
>