Description of problem: Install from a bare system (as the TPS tests do) causes an error in %post during install due to missing ruby dependency Version-Release number of selected component (if applicable): openshift-enterprise-release-1.1-1.el6op How reproducible: Always Steps to Reproduce: 1. Install openshift-origin-release on a system without ruby Actual results: Install completes with a failure in %post Expected results: No failures during install Additional info: This generally should not be an issue, since anyone installing openshift-enterprise-release would have ruby installed as a prerequisite for running openshift, however this affects TPS tests where the rpms are installed on a bare system.
Not only ruby is required but also rubygems is required by openshift-origin-release.
System ruby and rubygems packages need to be added to specfile for this package
commit 7206fdebf7c4da97e2ca22ce8335444d8e97e277 Author: Brenton Leanhardt <bleanhar> Date: Wed Jul 10 13:43:11 2013 -0400 Bug 980913 - openshift-enterprise-release does not correctly require ruby and rubygems
Verified this bug with 1.2/2013-07-17.1 puddle, and pass. When installing openshift-enterprise-release, ruby and rubygems will be pulled in as dependency. And no any error is seen in %post during installation.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1138.html