I have installed RVM and and Ruby 1.9.3 . But when I do rails c, I get this error
-bash: rails: command not found
I had done bundle install from my Rails app, and it was successful. But when i do gem list, I get this
*** LOCAL GEMS ***
bundler (1.3.5)
rubygems-update (2.1.3)
rvm (1.11.3.8)
What could be wrong?
gem install rails. But when I ranbundle install, it installed all the gems from my Gemfile, including rails. But none of them are visible when i dogem listgem listare not connected to each other necessarily. Bundler can install gems into an application specific folder, which is not always the system folder (wheregem listgets its information from). You need to have rails in the system gem folder. But if you don't want that then just runscript/railsinstead.