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
Post a Comment