Rails: Could not find railties

前端 未结 11 1571
[愿得一人]
[愿得一人] 2020-11-28 08:10
➜  ~  rvm -v

rvm 1.10.2 by Wayne E. Seguin , Michal Papis  [https://rvm.beginrescueend.com/]

➜  ~  ruby -v
ru         


        
11条回答
  •  一整个雨季
    2020-11-28 09:03

    Simone's answer is great. However, if you already have your Rails gem in your Gemfile, just try to use bundle exec instead:

    bundle exec rails c
    

    And that should suffice. If not, then add

    bundle install
    

    before the mentioned command.

提交回复
热议问题