I used https://rvm.beginrescueend.com/rvm/install/ to install ruby (ruby 1.9.2p290) & gems (no problems), then installed rails via gem install rails (Rails 3.2.0), but when I try and create a rails app (or issue rails -v) in another directory other than my /user directory I get:
The program 'rails' is currently not installed. You can install it by typing:
sudo apt-get install rails
I also noticed that if I issue ruby -v, I get:
The program 'ruby' is currently not installed. You can install it by typing:
sudo apt-get install ruby
Obviously, this is a $PATH issue, but it's been so long since I've had to do this that I've totally forgotten how to fix the issue.
As far as I can tell, as long as I create an app or issue command version commands in my /user directory, all goes well.
A few things that might help as well:
which rails gives me: /home/j3/.rvm/gems/ruby-1.9.2-p290/bin/rails
which ruby gives me: /home/j3/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
rvm listandrvm use 1.9.2, what are the results?