I asked this question in google-groups locomotivecms, but have not yet received a useful answer. So try here. I have a feeling that the problem is not just a problem with rails, but somehow related to how the locomotivecms engine is implemented.
I installed the locomotivecms application according to the instructions here - http://doc.locomotivecms.com/guides/get-started/install-engine
The application works fine in development mode.
Then I precompiled the assets and started them in production mode ( bundle exec unicorn_rails -E production ). Now when I open the application in the browser, the stylesheets are not displayed. I checked the publication / assets and there is a fingerprint stylesheet requested by the browser. However, it does not display correctly. This shows the chrome view resources:

It looks like the stylesheet contains html. If I open it from the public / assets folder, it contains css. I think Lokomotiv intercepts the request and somehow does not return css. The open source locomotive, their code is on github - https://github.com/locomotivecms/engine .
ruby-on-rails asset-pipeline locomotivecms
septerr
source share