Description of problem: When a rails app is created, the default mode is `production`. In production mode, the app by default does not serve static files like the compiled assets. To make rails app work OOB, we need to set as detault the RAILS_SERVE_STATIC_FILES env variable to the worker pod. Version-Release number of selected component (if applicable): registry.access.redhat.com/rhscl/ruby-23-rhel7@sha256:4b496b8b4d306badbea387f790004f867ca774526c17fb0fffdc88d58384c495 How reproducible: always Steps to Reproduce: I guess any app will do the job but you could try https://github.com/openshift-qe/ownthat 1. oc create -f openshift/secret.yml # first edit the file 2. oc process -f openshift/template.yml | oc create -f - 3. open app in browser Actual results: styles and other assets missing, page looking really ugly Expected results: page looks nice and assets are served to browser
Red Hat does not currently plan to provide any further changes to this collection in a Red Hat Software Collections update release. This software collection is nearing the retirement date (May 2019) after which customers are encouraged to upgrade to a later release. Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/
Then make sure this is fixed in the newer SCL version.
In accordance with the Red Hat Software Collections Product Life Cycle, the support period for this collection has ended. New bug fix, enhancement, and security errata updates, as well as technical support services will no longer be made available for this collection. Customers are encouraged to upgrade to a later release. Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/