Matthias Kirschner
2009-Jan-29 17:33 UTC
[webgen-users] HOWTO install webgen 0.5.6 on Debian GNU/Linux etch
Hi all, Cristian our sys-admin wrote a short HOWTO for Webgen 0.5.6 on Debian Etch, see https://wiki.fsfe.org/FellowshipHacks/Webgen. I thought it might be of interest for others as well. If you know a better way, please let us know. Best wishes, Matthias -- Deputy German Coordinator, Fellowship Coordinator Free Software Foundation Europe (FSFE) [] (http://fsfeurope.org) Join the Fellowship of FSFE! [][][] (http://fsfe.org/join) Your donation powers our work! || (http://fsfeurope.org/donate)
Thomas Leitner
2009-Jan-31 15:23 UTC
[webgen-users] HOWTO install webgen 0.5.6 on Debian GNU/Linux etch
Hi Matthias,> Cristian our sys-admin wrote a short HOWTO for Webgen 0.5.6 on Debian > Etch, see https://wiki.fsfe.org/FellowshipHacks/Webgen. > > I thought it might be of interest for others as well. If you know a > better way, please let us know.You shouldn''t use the pre-packaged Rubygems, neither in Debian or Ubuntu. It is generally a rather old version. The problems described on the webpage above are most likely to come from a too old rubygems version. I do the following on Debian/Ubuntu to use Rubygems: 1. Install ruby1.8 and probably some other packages (zlib, openssl, ...) from the Ruby standard library that are separated by Debian/Ubuntu into individual packages. 2. Download the latest Rubygems version (>= 1.3.0) as tar.gz, unpack it and do an ''sudo ruby setup.rb install''. 3. Install everything that is needed via the now available gem (eventually named gem1.8) command - you need to look through the output of the setup.rb command to see the name of the installed executable. Using this setup, you don''t need to worry about facets, maruku, cmdparse, ... Just do an ''gem install webgen'' and all the needed libraries as well as webgen are installed. Then install the optional libraries that you need for your webgen website. And another trick for using both webgen 0.4.x and 0.5.6 on the same system: install both using Rubygems and then start the 0.4.x version (0.4.7 in the example) by running webgen _0.4.7_ create testsite That is, explicitly specify the version of webgen that should be activated by rubygems. Just my 2c, Thomas ps. Currently don''t have access to a Debian Etch or Ubuntu system, so this comes straight from my head ;-)
Damien Robert
2009-Feb-04 20:15 UTC
[webgen-users] HOWTO install webgen 0.5.6 on Debian GNU/Linux etch
I have some debians and an ubuntu, so maybe i can explain how i installed webgen there:> You shouldn''t use the pre-packaged Rubygems, neither in Debian or > Ubuntu. It is generally a rather old version. The problems described on > the webpage above are most likely to come from a too old rubygems > version. I do the following on Debian/Ubuntu to use Rubygems: > > 1. Install ruby1.8 and probably some other packages (zlib, > openssl, ...) from the Ruby standard library that are separated by > Debian/Ubuntu into individual packages. > > 2. Download the latest Rubygems version (>= 1.3.0) as tar.gz, unpack > it and do an ''sudo ruby setup.rb install''.The Debian testing version of rubygem is old 1.2.x, but the latest version is in experimental, so you can use this one. Then you just need to do gem install webgen, and it works. In fact i did a local install, with $export $GEM_HOME="/home/myid/progs/local/ruby" $ gem install --local webgen Here is the result: Feanor ~/progs/local/ruby/gems $ ls RedCloth-3.0.0/ dcov-0.2.2/ rack-0.4.0/ rdoc-2.3.0/ RedCloth-4.1.1/ erubis-2.6.2/ rack-0.9.1/ rubyforge-1.0.0/ abstract-1.0.0/ facets-2.4.3/ rake-0.8.3/ rubyforge-1.0.2/ activerecord-2.2.2/ facets-2.5.0/ ramaze-2008.06/ syntax-1.0.0/ activesupport-2.2.2/ feedtools-0.2.29/ ramaze-2009.01/ uuidtools-1.0.7/ builder-2.1.2/ haml-2.0.1/ rcov-0.8.1.2.0/ webgen-0.5.6/ cmdparse-2.0.2/ haml-2.0.7/ rdiscount-1.2.11/ coderay-0.8.260/ launchy-0.3.2/ rdiscount-1.3.1.1/ coderay-0.8.273/ maruku-0.5.9/ rdoc-2.2.1/ (i did an update recently, and maybe i installed some more packages, but you get the ideas, most of the gems are automatically installed) Then you just need to add $HOME/progs/local/ruby/bin in your PATH (or link the files to your bin dire), and you can use webgen.