Description of problem: pre/post stop hooks aren't getting called for ruby cartridges.
https://github.com/openshift/origin-server/pull/1112
Verified on devenv_2642 Steps: 1. Create ruby-1.8/ruby-1.9 app 2. Add some commands to pre/post stop hooks eg: touch $OPENSHIFT_REPO_DIR/pre_stop.log touch $OPENSHIFT_REPO_DIR/post_stop.log 3. Git push 4. stop the application rhc app stop $app_name 5. ssh into app gear, check files are created Result: [r18-2642t1.dev.rhcloud.com ~]\> ls $OPENSHIFT_REPO_DIR config.ru post_stop.log pre_stop.log public README tmp Files are created, pre/post stop hooks are called