Hi,

I'm trying to install ruby on rails in my ubuntu 10.04 and I followed the next steps:

first I install ruby, rubygems and and other packages:

Code:
sudo apt-get install ruby rdoc libopenssl-ruby rubygems.
All the package were installed with no problem, when I run
Code:
ruby -v
gem env
I get the correct answer, so the package were installed correctly.

next I try to install rails with the command:
Code:
sudo gem install rails
the installation of this gem is Ok. too, but when I try to run the command rails -v I get the error:

The program 'rails' is currently not installed.

I know the gem rails were installed because when I run
Code:
gem list
I obtain the next result:

Code:
actionmailer 
actionpack 
activerecord 
activeresource 
activesupport 
rack 
rails 
rake

I don't know what i miss.