The script will install ruby 1.9.3, bundler and unicorn including the action_hooks scripts to build, start and stop a rails application.
-
create an app:
rhc app create -a testruby193 -t diy-0.1
-
ssh to your openshift app
-
execute the following bash command:
cd $OPENSHIFT_TMP_DIR && curl https://raw.github.com/zekus/openshift-diy-ruby193/master/setup.sh | sh
-
exit and clone the app following the openshift guideline