我在这里遵循简单的教程:https ://github.com/JonKernPA/gmaps
我不断收到错误:
couldn't find file 'underscore'
(/app/assets/javascripts/application.js:16)
突出显示以下行:
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
我尝试按照 Gmaps 中发布的建议 未在 rails 4 + gmaps4rails 2.0.3 中定义
并且我得到与突出显示同一行的错误相同的错误。当我尝试删除线时
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
从 application.html.erb,我收到错误“未找到 Gmaps”
任何帮助表示赞赏,谢谢。Github 链接:https ://github.com/chiefkikio/circus/