ExecJS::RuntimeError on Windows trying to follow rubytutorial

后端 未结 13 2209
清歌不尽
清歌不尽 2020-11-22 07:27

UPDATE: Colin\'s suggestion of removing the line //= require_tree . has fixed the issue.

I have wasted over 2 days trying to follow every suggestion

13条回答
  •  借酒劲吻你
    2020-11-22 07:51

    For beginners like me:

    1. Navigate to \app\views\layouts\application.html.erb
    2. Change line 6 from:

      '<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>'

    to

    <%= javascript_include_tag 'defaults', 'data-turbolinks-track' => true %>
    

    Source from tutorial to fix here

提交回复
热议问题