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

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

c# - Inconsistent accessibility errors -

security - Java Applet Windows-MY keystore PrivateKey getEncoded is null -