Hi, Thomas
Thomas Leitner wrote:
Hey everybody!
--------------
I just release a new webgen version which fixes some bugs and brings one
that's good news 
i wanted to install the new version immediately,
but with =
C:\WINNT\system32>ruby -v
ruby 1.8.5 (2006-08-25) [i386-mswin32]
it gave me =
C:\WINNT\system32>gem install webgen
ERROR: While executing gem ... (Zlib::BufError)
buffer error
Regards, Gilbert
Hi,
I tried it out on Windows XP with the One-Click-Installer, failed for me, too. However, after updating Rubygems from 0.9.2 to 0.9.4 it worked for me. So try a:
gem install rubygems_update
update_rubygems
gem install -y webgen
*hth*,
Thomas
ps. Ruby 1.8.6 on Windows installed using One-Click-Installer has a bug which prevents webgen from working correctly, so stay with the 1.8.5 version till the next release of 1.8.6 (bug has already been fixed)
Hi, Thomas
Thomas Leitner wrote:
Hey everybody!
--------------
I just release a new webgen version which fixes some bugs and brings one
that's good news 
i wanted to install the new version immediately,
but with =
C:\WINNT\system32>ruby -v
ruby 1.8.5 (2006-08-25) [i386-mswin32]
it gave me =
C:\WINNT\system32>gem install webgen
ERROR: While executing gem ... (Zlib::BufError)
buffer error
Regards, Gilbert
Jamis Buck may have the solution on his recent post about Capistrano 2.0RC4
http://weblog.rubyonrails.com/2007/6/29/capistrano-2-0-preview-4
P.S. If you are on a Windows machine, and you get Zlib errors trying to install the Capistrano gem, try this. Find the rubygems/package.rb file (wherever it happens to be in your Ruby installation), open it up, and find the zipped_stream method. Then, replace it, wholesale, with the following:
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
That seems to do the trick for me; let me know if it doesn’t work for you.
Might be worth a try. (Of course, you could just get a Mac, too 
-Rob
Rob Biedenharn
Rob@AgileConsultingLLC.com
···
On Jun 29, 2007, at 1:40 PM, Gilbert Rebhan wrote:
--------------------------
"I sort of keep hoping that red herrings will steadilly come along, to keep people busy; I get secret satisfaction when bad ideas take hold and suck a lot of people in ... like Java."
-- Don Knuth, Things a Computer Scientist Rarely Talks About, p.16 (Stanford, California: CSLI Publications, 2001)
Thomas Leitner wrote:
Hi,
I tried it out on Windows XP with the One-Click-Installer, failed for me, too. However, after updating Rubygems from 0.9.2 to 0.9.4 it worked for me. So try a:
gem install rubygems_update
update_rubygems
gem install -y webgen
ruby -v
ruby 1.8.5 (2006-08-25) [i386-mswin32]
gem -v
0.9.0
updating gem worked only with =
gem update --system
now it's 0.9.4
and gem install webgen worked 
Gilbert