Rails: AbstractController::Helpers::MissingHelperError - Missing helper file application_helper.rb_helper.rb

后端 未结 13 2028
庸人自扰
庸人自扰 2020-12-09 04:18

Can\'t find any resource that\'s helped me in this! When I try to \'rails s\' and go to any page of the app; it shoots me this error page saying I am missing helper files.

13条回答
  •  青春惊慌失措
    2020-12-09 04:52

    This worked for me:

    cd ~
    mv sites tmpsites
    mv tmpsites sites
    

    I also did this, but am unsure if it was required:

    cd /
    sudo ln -s Users users
    

    Oddly, I can't see the lowercase users symlink, but both ls /users and ls /Users work.

提交回复
热议问题