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> app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__240291854059818003_70269114024320'' 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. -John -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/krlZjtQqVn4J. For more options, visit https://groups.google.com/groups/opt_out.
Can you post the content of app/assets/javascripts/application.js:13 and also your Gemfile? JavierQ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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. On Friday, September 7, 2012 10:40:05 PM UTC-4, JavierQQ wrote:> > Can you post the content of > > app/assets/javascripts/application.js:13 > > and also your Gemfile? > > JavierQ >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/kSs3lZgK8yUJ. For more options, visit https://groups.google.com/groups/opt_out.