> I'm new to ruby and rubygems. I installed the debian rubygems package
> (from debian testing) and I'm trying to configure it to have gems in my
> $HOME dir as this is a shared server.
You should be able to install gems to your home dir by adding the following to
~/.gemrc
gem: --user-install
....and then install gems without sudo:
gem install rails
James