By default, Rails does not serve static assets during production, as the web server is generally more optimized for such tasks. This is most likely a problem.
To fix this, you can set config.serve_static_assets = truein config/environments/production.rband configure the Web server to do that for you.
source
share