Solution:
In your /app/views/layouts/application.html.erb lines 5 and 6, alter the first parameter from application
to default
.
I met the similar issue, too for my condition, I don't know why, however it only occurs on Windows. The parameter application performs
on the web server.
In case you are running in WIndows, the coffee-script-source 1.9.0 does not employ on windows.
Alter it to a previous version including this line to your Gemfile:
gem 'coffee-script-source', '1.8.0'
And then reinstall the bundle synthesizing the dependencies for the new Gem version with:
bundle update coffee-script-source
1 - replacing application by default
Replacing the "application"
by "default"
in blog\app\views\layouts\application.html.erb
From
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
To
<%= stylesheet_link_tag 'default', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'default', 'data-turbolinks-track': 'reload' %>
It must currently be performing fine. Although I've read that there might be an issue at the time running javascript while employing "default" instead of application.
2 - altering coffee script's version in the Gemfile
Add in blog/GemFile the coffee-script-source v1.8.0 (v1.9.0 does not work on Windows)
#For Windows it works with CofferScript v1.8
gem 'coffee-script-source', '1.8.0'
Stop the server (in case it was running) and do:
bundle update coffee-script-source
You forgot '>' at the end, so full tag looks like
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>