Problem installing RubyGems

Hi,

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 http://docs.rubygems.org/read/chapter/15#page101
(Section 2.4: Installing gems in a non-standard directory.):

PREFIX=/home/dennis/installed/ruby-1.8.6
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?
thanks,
–Dennis.

Hi Dennis,

What OS are you using? If linux have a look at
http://wiki.netbeans.org/wiki/view/RubyGems

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

Cheers,

Anthony R.