jquery doesn't work with rails 3.2 in production mode with asset pipeline
===

I've a rails app which works perfectly fine in dev mode, but as soon as I start the app in prod env, jquery falls apart.  

To make sure nothing goes wrong after the assets are pre-compiled, I set the serve_static_assets flag to true in my dev env.  I observed, it didn't like `//=require jquery` in my application.js.  So I removed it from there and added one from google's cdn in my layout file.  This change worked but there was still no luck in prod env.

Following are excerpts from my two env files:<br />
<b>production.rb</b>
<br />
`config.serve_static_assets=true`<br/>
`config.assets.compress = true`<br/>
`config.assets.precompile += %w(*.js *.css)`<br/>
`config.assets.compile = false`<br/>
`config.assets.digest = true`<br/>

<b>development.rb</b><br/>
`config.assets.compress = true`<br/>
`config.assets.debug = true`<br/>
`config.serve_static_assets=true`<br/>

My application.js is [here](https://gist.github.com/3194537)