Bug 830717 - get error message when running rhc-outage from instance
get error message when running rhc-outage from instance
Status: CLOSED CANTFIX
Product: OpenShift Origin
Classification: Red Hat
Component: Website (Show other bugs)
2.x
Unspecified Unspecified
low Severity medium
: ---
: ---
Assigned To: Clayton Coleman
libra bugs
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-11 06:01 EDT by Meng Bo
Modified: 2015-05-14 21:11 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-11 10:51:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Meng Bo 2012-06-11 06:01:30 EDT
Description of problem:
run /var/www/stickshift/site/app/subsites/status/rhc-outage from instance, will get error message and cannot call new issue.

Version-Release number of selected component (if applicable):
devenv_1827

How reproducible:
always

Steps to Reproduce:
1../var/www/stickshift/site/app/subsites/status/rhc-outage
2.
3.
  
Actual results:
[root@ip-10-12-183-234 site]# ./app/subsites/status/rhc-outage new
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:779:in `report_activate_error': RubyGem version error: arel(2.0.9 not ~> 2.0.10) (Gem::LoadError)
	from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:214:in `activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
	from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in `require'
	from /var/www/stickshift/site/app/subsites/status/lib/database.rb:2
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from ./app/subsites/status/rhc-outage:14


Expected results:
rhc-outage should not return error and can be called successfully.

Additional info:
Comment 1 Clayton Coleman 2012-06-11 10:51:33 EDT
You have to run 'bundle exec ./rhc-outage ...' from that dir now instead of 'rhc-outage ...'

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