Rails command line not found when installed with RVM
问题 After installing RVM, I have installed Ruby 1.8.7 then Rails 3. When I do which rails I get /Users/davidbenhamou/.rvm/gems/ruby-1.8.7-p302/bin/rails . But when I do rails -v I get -bash: /usr/bin/rails: No such file or directory Why is Rails not working? Note: I have followed all steps from RVM website and Ruby command line work fine ( ruby -v ). 回答1: To see the rubies you have installed: rvm list rubies And you'll see something like this: ree-1.8.7-2011.03 [ i686 ] * ruby-1.9.2-p290 [ x86_64