Jquery error in production precompiled

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

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


Have you included ‘jquery_rails’ in your gem file?


yes, I have.
Jquery error : it is work in front end ( user view ).
admin view (back end - setting ). some jquery work. sometime jquery not