Skip to content
tsinha edited this page Apr 24, 2013 · 3 revisions

This script is called by httpd.conf during Apache server start. This script allows us to use a single Rails RVM environment for multiple apps, and also allows us to set environment variables via set_environment. This file exists in the heh users home directory: /home/heh/.

#!/bin/sh
. /home/heh/set_environment
exec "/home/heh/.rvm/wrappers/ruby-1.9.3-p327@HeH/ruby" "$@"

Clone this wiki locally