Javascript error in Rails

Hi, I’m getting this error in rails 3.2.3. I think I’ve had it since installing rails on this system 2 weeks ago. This error appears open loading the home page of my site.

  Rendered static_pages/home.html.erb within layouts/application (0.7ms)
Completed 500 Internal Server Error in 16ms

ActionView::Template::Error (couldn't find file 'jquery'    
(in /Users/iamreff/ruby/kidtunes/app/assets/javascripts/application.js:13)):
3:   <head>
4:     <title><%= full_title(yield(:title)) %></title>
5:     <%= stylesheet_link_tag    "application", :media => "all" %>
6:     <%= javascript_include_tag "application" %>
7:     <%= csrf_meta_tags %>
8:     <%= render 'layouts/shim' %>
9:   </head>

I installed the jquery-rails gem, ran bundle install and restarted by rails server to no avail.

How do I get Javascript working on my Rails 3.2.3 install?

Thanks in advance.


Can you post the content of


and also your Gemfile?


Hola Javier, I figured out what was wrong. Somewhere along the way in getting Rails installed I had commented out jquery in the Gemfile. I hate self inflicted wounds. Thanks for your response.