Rails beginner.
I have followed step-by-step the Requirements page (added gem into Gemfile, bundle install, added div, added javascript dependencies and source code with asset pipeline and finally added the javascript inside view) but, when I load my homepage I get the following:
couldn't find file 'gmaps/google' with type 'application/javascript'
I have googled something and finally I have tried to remove the 2 following lines inside application.html.erb:
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
Doing this I got the trick and the homepage is correctly loaded.
Rails beginner. I have followed step-by-step the Requirements page (added gem into Gemfile, bundle install, added div, added javascript dependencies and source code with asset pipeline and finally added the javascript inside view) but, when I load my homepage I get the following:
couldn't find file 'gmaps/google' with type 'application/javascript'
I have googled something and finally I have tried to remove the 2 following lines inside application.html.erb:<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
Doing this I got the trick and the homepage is correctly loaded.