Hi,
I''ve looked at webgen after some time... I''m now trying to
install the new
version (0.5.4) through gem.
Perhaps it''s a really dumb thing, but i''ve not any clue with
gem, and very
few of ruby. (ok,I''ll study ruby...I promise... :D )
So, I tried with: 
$ sudo gem install webgen
ERROR:  Error installing webgen:
	webgen requires facets (= 2.4.3, runtime)
and after with (as stated in the homepage):
$ sudo gem install --development webgen
Building native extensions.  This could take a while...
ERROR:  Error installing webgen:
	ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9 extconf.rb install --development webgen
extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError)
	from extconf.rb:1:in `<main>''
Gem files will remain installed in /var/lib/gems/1.9.0/gems/rcov-0.8.1.2.0 
for inspection.
Results logged 
to /var/lib/gems/1.9.0/gems/rcov-0.8.1.2.0/ext/rcovrt/gem_make.out
I''m running an ubuntu hardy (with some intrepid packages), gem version
is:
$ apt-cache policy rubygems1.9
rubygems1.9:
  Installato: 1.3.0~RC1really1.2.0-2ubuntu2
  Candidato: 1.3.0~RC1really1.2.0-2ubuntu3
  Tabella versione:
     1.3.0~RC1really1.2.0-2ubuntu3 0
        500 http://archive.ubuntu.com intrepid/universe Packages
 *** 1.3.0~RC1really1.2.0-2ubuntu2 0
        100 /var/lib/dpkg/status
The same happens with ruby1.8
Thanks, bye.
-- 
-gaspa-
-----------------------------------------------
--------- http://launchpad.net/~gaspa ---------
------ HomePage: iogaspa.altervista.org -------
-Il lunedi''dell''arrampicatore: www.lunedi.org -
On Fri, Oct 24, 2008 at 3:03 PM, Andrea Gasparini <gaspa at yattaweb.it> wrote:> I''m running an ubuntu hardy (with some intrepid packages), gem version is: >There are bugs with development dependencies in earlier versions of rubygems, not sure if they are in the ubuntu-packaged 1.3.0 rc1 really 1.2.0 whatever the heck that means :) I''d suggest downloading and building rubygems 1.3.0 from the gzip file, and see if that works out better. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/webgen-users/attachments/20081024/09c36ec5/attachment.html>
Am Sat, 25 Oct 2008 00:03:58 +0200 schrieb Andrea Gasparini <gaspa at yattaweb.it>:> Hi, > I''ve looked at webgen after some time... I''m now trying to install > the new version (0.5.4) through gem.Use the latest gem version 0.5.6. And I recommend installing Rubygems separately and not via the package manager because it will save you much troubles under Ubuntu :) First install Ruby 1.8 - webgen *should* work under Ruby 1.9 but some libraries don''t. So its better to stay with 1.8 currently. Since Ubuntu splits the Ruby standard library into many different packages, you will need to install the following packages ruby1.8 ruby1.8-dev libzlib-ruby libruby1.8-extras Then download, extract and install the latest Rubygems version (as root or via sudo) wget http://rubyforge.org/frs/download.php/43985/rubygems-1.3.0.tgz tar xzvf rubygems-1.3.0.tgz cd rubygems-1.3.0 ruby setup.rb install After that you can do (as root or via sudo) gem install webgen which will install all needed dependencies but not the optional ones. If you also need the optional libraries, you may need to install the Ubuntu package ''build-essentials'' and then do a gem install --development webgen -- Thomas