Have you included 'jquery_rails' in your gem file?

Nikhil

On Friday, November 2, 2012 3:57:50 PM UTC+5:30, D2M wrote:
>
> In my rails project, for production precompile
> I do : rake assets:precompile RAILS_ENV=production
>
> But it not work for jquery.
> In my firegub console, I got the error 
> “ReferenceError: JQuery is not defined “
>
> at production.rb
>
> # Disable Rails's static asset server (Apache or nginx will already do 
> this)
>   config.serve_static_assets = true
>
>   # Compress JavaScripts and CSS
>   config.assets.compress = true
>   config.assets.precompile = ['*.js', '*.css']
>
> at application.js 
>
> // = require jquery_ujs
> // = require jquery
> // = require jquery.jcarousel.min
> // = requier_tree .
>
>
> how I do for that
>
> Regards,
> D2M
>
>
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/o1sJXoOR868J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to