I'm trying to deploy a refinerycms app into Heroku. the deployment process goes smoothly but assets are not loading properly in front-end and back-end (see image attached).

1 - I have compiled my assets. 2 - I set config.assets.initialize_on_precompile = false 3 - Commited my changes.

and still have the same issue.

What am I missing?

有帮助吗?

解决方案

Try adding any refinerycms assets you are missing to config.assets.precompile in production.rb file. i.e.

config.assets.precompile += ['refinery/refinery.css']

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top