[Rubygems-developers] gems 0.9.0 on ruby 1.8.2 +ubuntu 6.10: now way to install to $HOME

Florian Reitmeir florian at reitmeir.org
Tue Nov 7 09:23:51 EST 2006


On Mon, 06 Nov 2006, Alexander Mikhailian wrote:

> Here is a shell script that runs in the rubygems
> distribution directory to install into /home/user :
> 
>   PREFIX=/home/user
normally you could use:

PREFIX=$HOME

>   export GEM_HOME=$PREFIX/lib/ruby/gems/1.8 
>   export RUBYLIB=$PREFIX/lib/ruby:PREFIX/lib/site_ruby/1.8

if think this should be:
export RUBYLIB=$PREFIX/lib/ruby:$PREFIX/lib/site_ruby/1.8

>   ruby setup.rb all --prefix=$PREFIX
> 
> You may add GEM_HOME and RUBYLIB into your ~/.profile file to
> automatically load on login.

-- 
Florian Reitmeir


More information about the Rubygems-developers mailing list