ruby on rails - Couldn't find file 'jquery', Sprockets::FileNotFound in StaticPages#home error -
i self-studying michael hart's guide , stuck in chapter 7.
when go localhost:3000
, error message comes up, saying couldn't find file jquery
, points line 7 in application.html.erb
file.
when delete line 7, -> <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
, localhost runs normal without error.
my git repository.
i solved reverting to
gem 'jquery-rails', '2.1.4' gem 'jquery-ui-rails', '4.2.1'
Comments
Post a Comment