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

Alexander Mikhailian mikhailian at altern.org
Sat Nov 4 06:03:24 EST 2006


Here is I problem I have on a fresh Ubuntu install with the ruby-1.8.2-1
package.

After downloading rubygems-0.9.0, I run 

  $  ruby setup.rb all --prefix=/home/lowry 

which replies with 

hook /home/lowry/hobby/rubygems-0.9.0/./post-install.rb failed:
You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
Try 'ruby setup.rb --help' for detailed usage.

After some thought and ruby setup.rb --help reading, I run 

  $  ruby setup.rb all --prefix=/home/user --sysconfdir=/home/user/etc \
  --siteruby=/home/user/lib/site_ruby 

And it still replies with 

hook /home/lowry/hobby/rubygems-0.9.0/./post-install.rb failed:
You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
Try 'ruby setup.rb --help' for detailed usage.

How do I install gems into $HOME ?!!!



More information about the Rubygems-developers mailing list