I am self-studying Michael Hart's guide and am stuck in chapter 7.
When I go to localhost:3000
, an error message comes up, saying it couldn't find file jquery
and points to line 7 in application.html.erb
file.
when I delete the line 7, -> <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
, localhost runs normal without an error.
My git repository.
I solved this by reverting to
gem 'jquery-rails', '2.1.4'
gem 'jquery-ui-rails', '4.2.1'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With