rbenv更新ruby后rails命令无效的解决方案

创建: 2017/11/02

更新: 2018/02/02 增加rbenv使用方法的链接
 
 
报错
 rbenv: rails: command not found

 

The `rails' command exists in these Ruby versions:

  2.4.1

 

原因: rbenv更新ruby后新版本的ruby的bundle没安装

 

解决办法: gem install bundler

         bundle install

 

posted @ 2017-12-02 02:04  懒虫哥哥  阅读(464)  评论(0编辑  收藏  举报