sferik/rails_admin — Issue #981: Error with stylesheets with Rails 3.2 on Heroku
Author: ingfernandotobar
Created: 2012-02-15 00:44:49+00:00
State: open

When I run a demo application using Rails 3.2, Ruby 1.9 in production mode locally, all styles are correctly (with precompiled assets).

When I do the deploy on Heroku, the styles are incorrectly. Eg. http://morning-moon-5328.herokuapp.com/admin
(usr: admin@example.com, pass: password)

Looks like this: https://github.com/sferik/rails_admin/issues/135.

On page I see that is done to include the styles and js (and both files exist on the production server):

I have set: config.assets.compile = true
and config.assets.precompile + = ["rails_admin / rails_admin.js" "rails_admin / rails_admin.css" "rails_admin / jquery.colorpicker.js" "rails_admin / jquery.colorpicker.css"]

I have also tried with http://devcenter.heroku.com/articles/rails31_heroku_cedar.

Can be missing some configuration to work properly on Heroku?