I would like to install webgen following the tutorial found at
http://webgen.rubyforge.org/installation.html
Once I've done
sudo aptitude install ruby rubygems
sudo gem1.8 install webgen
it successfully installs everything needed but I can't launch webgen at the command line.
I am on ubuntu jaunty.
Is there a step I'm missing?
Thanks for any help,
--
Sébastien Mengin
Edilibre.net -- Édition et logiciels libres
www.edilibre.net
_______________________________________________
webgen-users mailing list
webgen...@rubyforge.org
http://rubyforge.org/mailman/listinfo/webgen-users
> sudo aptitude install ruby rubygems
> sudo gem1.8 install webgen
>
> it successfully installs everything needed but I can't launch webgen
> at the command line.
>
> I am on ubuntu jaunty.
>
> Is there a step I'm missing?
I normally don't install rubygems from the APT repositories since it is
always rather old. However, the last time I checked the installation
instructions they worked.
Have you added the APT rubygems bin-directory to your PATH variable? If
I recall correctly, APT rubygems is installed in a non-standard
directory (something like /var/rubygems) so you may need to add the bin
directory to your PATH variable.
If this doesn't work, which error is shown on the command line?
-- Thomas
You're right, it is in
/var/lib/gems/1.8/gems/webgen-0.5.10/bin/webgen
After adding the two following lines to my .bashrc, it actually works
perfectly (quite obvious, but just for the record):
PATH=$PATH:/var/lib/gems/1.8/bin/
export PATH
Thanks for your answer,
--
Sébastien Mengin
Edilibre.net -- Édition et logiciels libres
www.edilibre.net
No problem! Thanks for reporting the actual path, will include this in
the installation document.
-- Thomas