rails rbenv: rails: command not found

前端 未结 4 865
醉话见心
醉话见心 2020-12-24 08:46

I have recently moved from RVM to Rbenv and when attempting to execute rails I am getting an error like the one below

Pauls-Air:~ $ rails
rbenv: rails: comma         


        
4条回答
  •  死守一世寂寞
    2020-12-24 09:19

    You need to install Rails for each Ruby version within rbenv. Try running rbenv version, I might expect that 2.1.2 is not the ruby version in use for the current project (local version) or maybe your global version.

提交回复
热议问题