Bug 836249 - Be able to run rhc-outage from anywhere on the system without bundle exec
Summary: Be able to run rhc-outage from anywhere on the system without bundle exec
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Fotios Lindiakos
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-28 13:26 UTC by Clayton Coleman
Modified: 2015-05-15 01:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-05 18:30:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Clayton Coleman 2012-06-28 13:26:08 UTC
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.

Comment 1 joycezhang 2012-07-31 08:51:28 UTC
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
Syncing https://10.144.0.146/app/status
	Success

Comment 2 Fotios Lindiakos 2013-02-05 18:30:19 UTC
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
Open
  #27: Test issue 1
Resolved
  #26: Openshift Maintenance
  ...


Note You need to log in before you can comment on or make changes to this bug.