Rails: render doesn't work, still get `Template is missing`

后端 未结 5 754
一个人的身影
一个人的身影 2021-02-02 08:59

I am currently learning Rails Guides. I went through the steps but still encountered a mistake.

My Ruby version is ruby 2.1.1p76 and the Rails version is

5条回答
  •  不知归路
    2021-02-02 09:48

    Change Rails version in your Gemfile:

    # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
    gem 'rails', '4.1.6'
    

    Then run:

    bundle install
    

    Make sure that your Rails version now is > 4.1

提交回复
热议问题