[webgen-users] installing webgen

1 view
Skip to first unread message

Sébastien Mengin

unread,
Sep 19, 2009, 5:08:39 AM9/19/09
to webgen...@rubyforge.org
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


_______________________________________________
webgen-users mailing list
webgen...@rubyforge.org
http://rubyforge.org/mailman/listinfo/webgen-users

Thomas Leitner

unread,
Sep 19, 2009, 8:18:32 AM9/19/09
to webgen...@rubyforge.org, sebastie...@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

Sébastien Mengin

unread,
Sep 19, 2009, 1:32:02 PM9/19/09
to Thomas Leitner, webgen...@rubyforge.org
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

Thomas Leitner

unread,
Sep 19, 2009, 4:32:13 PM9/19/09
to sebastie...@edilibre.net, webgen...@rubyforge.org
> > 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

Reply all
Reply to author
Forward
0 new messages