tscolari/jquery-mobile-rails — Issue #3: Routing error
Author: nextofsearch
Created: 2012-01-08 07:21:49+00:00
State: open

Hi,
I installed the gem and followed your instructions but get the following errors:

ActionController::RoutingError (No route matches [GET] "/assets/jquery.mobile.min-04b0fe32127b53b251f5bdc9562fde6c.css"):

It only happens when I put it on Heroku and it is fine on my local browser with mobile user-agent.

I set "config.assets.compile = true" in production.rb but didn't help and I don't see any errors or warnings when git push to Heroku.

BTW, I find it very odd since your sample rails app don't have any insertions of jQuery.mobile in these two manifests and works fine. Do we really need these to be inserted or not?
https://github.com/tscolari/rails-mobile-app-sample/blob/master/app/assets/javascripts/application.js
https://github.com/tscolari/rails-mobile-app-sample/blob/master/app/assets/stylesheets/application.css