[ANN] webgen 0.4.5

Hi,

I found about 12 hits for the same file installed in different directories and sub-directories; thus it is very difficult to decide which one to update manually. This leads to the following:

1- Is there any available optomized structure for all directories of ruby and its associated tools after installation? If yes please share with us.
2- Is there any available code to restructure the existing directories and subdirectories for drive C written in ruby? Of course this requires several tasks such as cleaning the registry automatically in order to optimize ruby and all associated kits installations.

best,
fatmah

···

----- Original Message ----
From: Rob Biedenharn <Rob@AgileConsultingLLC.com>
To: ruby-talk ML <ruby-talk@ruby-lang.org>
Sent: Friday, June 29, 2007 9:05:24 PM
Subject: Re: [ANN] webgen 0.4.5

On Jun 29, 2007, at 1:40 PM, Gilbert Rebhan wrote:

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 :slight_smile:
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 :wink:

-Rob

Rob Biedenharn
Rob@AgileConsultingLLC.com
http://agileconsultingllc.com
--------------------------
"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)

____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.