-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
couldn't find file 'jquery' #180
Comments
Have you tried with 4.2.0.rc2? |
I create a new application and it is working fine. It seems to be something related to your setup. |
I ran into the same problem. I ran
I downgraded to jquery-rails 3.0.2, and the problem went away. I also tried upgrading an existing app to rails 4.2.0rc2. I didn't run into any issues, since my jquery-rails version had been locked at 3.0.2. Sure enough, when I upgraded jquery-rails to 4.0.0, the error came back. |
Figured it out. It was a permissions problem. I ran Interestingly, |
I'm trying to update the gem in a project using Rails 4.2.0.beta4, but it seems that the jquery file can't be found. I tried changing the jquery-rails version back to 3.1.2 and it works with that version, the problem does seem to be with the current version.
Playing a little in the console I found when you try to require the gem (4.0) it gives you an error, while requiring the 3.1.2 only returns false.
The error in the title happens in the
<%= javascript_include_tag "application" %>
line of the application layout, of course.Here's the application.js:
Gemfile, in case you need it:
The text was updated successfully, but these errors were encountered: