no rails

I used the copy of gems in the latest Ubuntu and followed the instructions to install Rails but after a seemingly successful installation; rails fails to execute? Is it just a matter of updating my path?

xxxxx@sitename:~$ sudo gem install rails --include-dependencies Password: Bulk updating Gem source index for: Successfully installed rails-1.2.3 Successfully installed rake-0.7.3 Successfully installed activesupport-1.4.2 Successfully installed activerecord-1.15.3 Successfully installed actionpack-1.13.3 Successfully installed actionmailer-1.3.3 Successfully installed actionwebservice-1.2.3 Installing ri documentation for rake-0.7.3... Installing ri documentation for activesupport-1.4.2... Installing ri documentation for activerecord-1.15.3... Installing ri documentation for actionpack-1.13.3... Installing ri documentation for actionmailer-1.3.3... Installing ri documentation for actionwebservice-1.2.3... Installing RDoc documentation for rake-0.7.3... Installing RDoc documentation for activesupport-1.4.2... Installing RDoc documentation for activerecord-1.15.3... Installing RDoc documentation for actionpack-1.13.3... Installing RDoc documentation for actionmailer-1.3.3... Installing RDoc documentation for actionwebservice-1.2.3... xxxxx@sitename:~$ mkdir code xxxxx@sitename:~$ cd code/ xxxxx@sitename:~/code$ rails testapp The program 'rails' is currently not installed. You can install it by typing: sudo apt-get install rails Make sure you have the 'universe' component enabled bash: rails: command not found

Never mind I guess, I had a 'find' runnning and it was found at: /var/ lib/gems/1.8/bin/rails so I can set up an alias to there.

Hi, same error i found but when i start Consol once again then it works for me…

Enjoy Arun