I do not know if this will help or not. But in open-shift, you can compile any source and set it to any prefix. Like $ OPENSHIFT_RUNTIME_DIR. I think the best way to do this is to create a DIY application (do it yourself) and compile everything from sources, or create a ruby application and install the stones you need, change the environment as you like. This article can give you an idea of installing the application from sources in open-shift. https://openshift.redhat.com/community/blogs/enabling-python-27-on-a-paas-with-the-openshift-diy-app-type
source
share