Red Hat Bugzilla – Bug 814117
json should not be used as dependency when install rhc client on Windows
Last modified: 2014-01-12 20:42:51 EST
Description of problem:
According to US2145, json_pure should be used as dependency when installing rhc client on Windows and Mac.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.gem install rhc
both json_pure and json will be installed automatically on windows cygwin env.
only json_pure should be used as dependency on Win.
Please retest with rhc gem version > 0.91.2, this was the first version where the conditional dependencies should work.
checked with rhc-0.91.5 and rhc-rest-0.1.3, both of them need json as dependency.
Are you installing rhc-rest manually? rhc-rest should not be installed with the new version of the rhc gem.
yes, i have tried to install rhc and rhc-rest separately,
and for rhc client, it will install json automatically, for rhc-rest, it will not be installed since missing dependency json.
rhc-rest does not need to be installed anymore, and rhc will remove it if it finds it. test by just installing rhc
Checked with latest rhc client rhc-0.92.2
Since the US2145 has been updated as follow:
The package should attempt to install json first, if it fails (or ENV['JSON_PURE'] is explicitly set), json_pure should be installed.
rhc can be installed successfully with json installed on Windows.
and rhc-rest will be removed during installation of rhc client.
Mark this bug as verified.