Bug 760963 - Missing dependency package rubygem-json-pure
Summary: Missing dependency package rubygem-json-pure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-rhc
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Guillermo Gómez
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-07 13:06 UTC by Eric D. Schabell
Modified: 2011-12-18 13:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-18 13:23:50 UTC
Type: ---


Attachments (Terms of Use)

Description Eric D. Schabell 2011-12-07 13:06:08 UTC
Description of problem:

When running any rhc-* component, the following happens:

$ rhc-ctl-app --help
/usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find json_pure (>= 0) amongst [json-1.4.6, parseconfig-0.5.2, rhc-0.81.14] (Gem::LoadError)
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:761:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:758:in `each'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:758:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:742:in `activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1212:in `gem'
	from /usr/bin/rhc-ctl-app:18

Installed rubygem-json-pure via yum fixes.

Version-Release number of selected component (if applicable):
n/a

How reproducible:
see above.

Steps to Reproduce:
1. install rubygem-rhc
2. run any command, see above.
3.
  
Actual results:

$ rhc-ctl-app --help
/usr/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find json_pure (>= 0) amongst [json-1.4.6, parseconfig-0.5.2, rhc-0.81.14] (Gem::LoadError)
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:761:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:758:in `each'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:758:in `activate_dependencies'
	from /usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:742:in `activate'
	from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1212:in `gem'
	from /usr/bin/rhc-ctl-app:18


Expected results:

$ rhc-ctl-app --help

Created local config file: /home/eschabel/.openshift/express.conf
express.conf contains user configuration and can be transferred across clients.


Usage: /usr/bin/rhc-ctl-app
Control an OpenShift express app

  -a|--app   application   Application name  (alphanumeric) (required)
  -l|--rhlogin rhlogin     Red Hat login (RHN or OpenShift login with OpenShift Express access) (required)
  -p|--password password   RHLogin password  (optional, will prompt)
  -c|--command command     (start|stop|force-stop|restart|reload|status|destroy|add-alias|remove-alias)
  -L|--embedded-list       List supported embedded cartridges
  -e|--embed               (add|remove|stop|start|restart|status|reload)-$cartridge eg: add-mysql-5.1
  -b|--bypass              Bypass warnings
  -d|--debug               Print Debug info
  -h|--help                Show Usage info
  --alias                  Specify server alias (when using add/remove-alias)
  --config  path           Path of alternate config file
  --timeout #              Timeout, in seconds, for connection


Additional info:
none.

Comment 1 Guillermo Gómez 2011-12-07 15:54:20 UTC
Thanks for the report, im aware, rubygem-json_pure is working on it (he has to branch it for epel6, it's a missing runtime dependency which brakes the installation).

As soon rubygem-json_pure hits the repos, rubygem-rhc will start working again.

Comment 2 Guillermo Gómez 2011-12-18 13:23:50 UTC
rubygem-json_pure branched to epel6, rubygem-rhc should not have any other problem.


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