Rails-4, ExecJS::ProgramError in Pages#welcome

后端 未结 8 1865
臣服心动
臣服心动 2020-11-27 22:06

I am trying to add login-logout functionality to my rails app. For that I added bcrypt gem for password encryption and also access controller. Now when I run it

8条回答
  •  伪装坚强ぢ
    2020-11-27 22:15

    @Chuchoo, commenting the <%=javascript_include_tag 'application', 'data-turbolinks-track'=>true %> solves the issue.

    For the many newbies out there, more details on how to get to the solution.

    Go to your app directory and access the application.html.erb file from your_app>app>views>layouts>application.html.erb and comment the javascript on line 6.

    
    

    Refresh your page and you are good to go.

提交回复
热议问题