The program 'rails' is currently not installed.

Ramya's Avatar


18 Nov, 2011 06:44 AM

I installed ROR on Ubuntu using aptitude. It worked fine but after i closed and reopened Ubuntu, the command 'rails -v' gives “The program ‘rails’ is currently not installed. You can install it by typing ‘sudo apt-get install rails’”. Same thing happens to ruby and gems too.
If i do “echo $PATH”, it gives /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/ubuntupc/.rvm/bin:/home/ubuntupc/.rvm/bin
where 'ubuntupc' is my username. Can anyone help me in this?

  1. Support Staff 1 Posted by Nick Quaranto on 08 Dec, 2011 02:31 AM

    Nick Quaranto's Avatar

    Sounds like an rvm can ask for help with that on #rvm on freenode, or here:

  2. Nick Quaranto closed this discussion on 08 Dec, 2011 02:31 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac