The program 'rails' is currently not installed.

Ramya's Avatar

Ramya

18 Nov, 2011 06:44 AM

Hi,
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?
Thanks.

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

    Nick Quaranto's Avatar

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

    http://groups.google.com/group/rubyversionmanager

  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

Generic

? 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

Recent Discussions

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM