Hi, 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
Hi,> 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
Le samedi 19 septembre 2009 ? 14:18 +0200, Thomas Leitner a ?crit :> Hi, > > > 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.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
> > 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. > > 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,No problem! Thanks for reporting the actual path, will include this in the installation document. -- Thomas