Reputation: 3
i am using ubuntu 12.04. I've installed rails with rvm. i added required lines to .bashrc and .bash_profile. however when i want to run rails terminal says:
The program 'rails' is currently not installed. You can install it by typing:
sudo apt-get install rails
i could run rails in my few attemps, but i used a different approach:
sudo su
login user
and it worked few times.
Upvotes: 0
Views: 143
Reputation: 1843
Had same problem, on my command line I fixed it by doing this
/bin/bash --login
hope it helps.
Upvotes: 1
Reputation: 53158
make sure:
rvm use ruby
works, follow all instructions displayed to you.
Upvotes: 1