I recently installed Rails 3.2.1 (Gem version 1.8.7) running on Ruby 1.9.3 on Ubuntu 11.10. I installed ruby, rails, and gem using rvm. I currently only have the one version installed. When I type "ruby -v" in a normal directory I see 1.9.3 as expected and when I type rails -v I see 3.2.1 as expected.
This allows me to type "rails new sample" to create a rails application called sample. If I cd into the "sample" directory though and type "rails server" it tells me rails is not installed. So I checked the $PATH variable and it is not what I expect to see. Here is the output as I currently see it.
If in the "sample" directory I type "rvm --default use 1.9.3", rails is once again recognized. Does anyone have any idea how this occurs or an idea of what to start searching for? Thanks in advance.