ruby - rails rbenv: rails: command not found -


i have moved rvm rbenv , when attempting execute rails getting error 1 below

pauls-air:~ $ rails rbenv: rails: command not found  `rails' command exists in these ruby versions:   2.1.2 

after installing gem via command line in ruby version have execute rbenv rehash described in docs here , here

for example:

$ rbenv install 2.2.0 $ gem install bundler $ rbenv rehash $ gem install rails $ rbenv rehash 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -