problem installing RubyGems


I'm new to Ruby, RubyGems, RoR.

I successfully (so I believe) installed Ruby under my home dir. It's
in /home/dennis/installed/ruby-1.8.6

Now I'm trying to install rubygems-0.9.4. I'm following the
instructions from
(Section 2.4: Installing gems in a non-standard directory.):

export GEM_HOME=$PREFIX/lib/ruby/gems/1.8
export RUBYLIB=$PREFIX/lib/ruby:$PREFIX/lib/site_ruby/1.8
ruby setup.rb all --prefix=$PREFIX

This gives:

ruby: no such file to load -- ubygems (LoadError)

***Note the missing 'r' : "ubygems" instead of "rubygems". This is not
my typo - I copied this message literally from the command line.***

Any help?

Hi Dennis,

What OS are you using? If linux have a look at

Specifically the section "Installing your own private copy of Ruby on Ubuntu"


Anthony Richardson
dennisdams wrote: