You are using rvm. You probably didn't set the Ruby env used by rails as the default.
Run:
rvm list
This will display the available rubies on your machine (under rvm control).
Run:
rvm use <ruby used by rails>
That should load your rails environment.