Red Hat Bugzilla – Bug 836249
Be able to run rhc-outage from anywhere on the system without bundle exec
Last modified: 2015-05-14 21:12:27 EDT
rhc_outage should probably boot bundler (Bundler.setup, like how the rails init process works) during startup. We don't want the Rails env loaded.
The function 'rhc outage' works fine with devenv_1922 with client rhc-0.95.14.
You can refer to following results:
# ../var/www/stickshift/site/app/subsites/status/rhc-outage new title description
Created issue #30
Update applied to issue #30
Confirmed that this script can be run from anywhere:
[root@ip-10-194-27-192 ~]# /var/www/openshift/site/app/subsites/status/rhc-outage list
#27: Test issue 1
#26: Openshift Maintenance