Ruby on Rails
Wednesday, June 27, 2012
On Wednesday, June 27, 2012 8:16:47 AM UTC-7, Vell wrote:
On Wednesday, June 27, 2012 2:36:33 AM UTC-4, Ylan wrote:Val,Your Gemfile looks good to me and so does your application.js.Are you using bundle exec rake to precompile? Can you post the error message you get about jquery?Thanks for the response Ylan. I just now tried `bundle exec rake assets:precompile:all` and I am getting the same error about jquery. The error I am getting is:
rake aborted!
couldn't find file 'jquery'
(in /home/vmcilwain/apps/test_app/app/assets/javascripts/ application.js:13)
Tasks: TOP => assets:precompile:primary
(See full trace by running task with --trace)
[snip]
Val,
The error you are getting means that, when running the rake task the jquery gem is not available. There are a few ways this can happen: Did you add the jquery gem only in the development group? In the asset group? Did you remember to run bundle install after adding the gem? What bundler groups are available in which environments (look into your application.rb file).
If answering the above questions doesn't lead you to find the problem, post back your complete Gemfile and we will go from there.
--
Ylan.
-- 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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ibw3Q-6gj_YJ.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment