undefined local variable or method `root_path' Hartl's Tutorial Chapter 5.3.2

前端 未结 7 1694
长情又很酷
长情又很酷 2021-01-04 05:12

So my first question on Stackoverflow..... =]

My tests in Chapter 5.3.2 of Michael Hartl\'s RoR Tutorial are all failing, when the tutorial says it should be passing

7条回答
  •  滥情空心
    2021-01-04 05:54

    Mischa's answer will hopefully fix most of those problems, but your tests may still fail on the root_path issue.

    Have you removed index.html like so: git rm public/index.html

    And don't forget to commit your changes with: git commit -am "Message"

提交回复
热议问题