[ANN] webgen 0.4.5

Hey everybody!

···

--------------

I just release a new webgen version which fixes some bugs and brings one new feature: customizable links to any file handled by webgen. Have a look at http://webgen.rubyforge.org/news.html to see a complete list of changes!

Best regards,
   Thomas

What's webgen?
--------------

webgen is a tool to generate static websites by combining content with template files. You create one or more template files in which you define the layout of your page and where the content should go. After that you create page files in which you only define the content. You can use a variety of markup languages like Textile or Markdown to define your content and you can add dynamic parts via ERB or by using webgen tags. This allows the automatic generation of menus, breadcrumb trails and much more!

Have a look at the examples page at http://webgen.rubyforge.org/examples/index.html to get a first impression of webgen!

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

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

···

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

Gilbert