Bug 949656

Summary: OSE 1.2 Deployment Guide needs to be updated for Ruby 1.9.3
Product: OpenShift Container Platform Reporter: Miciah Dashiel Butler Masters <mmasters>
Component: DocumentationAssignee: Alex Dellapenta <adellape>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1.1CC: jokerman, libra-onpremise-devel, mmccomas
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-24 16:07:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miciah Dashiel Butler Masters 2013-04-08 17:24:10 UTC
Description of problem:

OSE 1.1 uses Ruby 1.8.7 for the broker.  OSE 1.2 will use Ruby 1.9.3, which comes from the Software Collection Library (SCL).  Using the SCL version requires that we change the commands used to invoke Bundler.  The changes described below will therefore be needed in the Deployment Guide for OSE 1.2.

We will need to update "5.7.9. Configuring Bundler":

https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/1/html-single/Deployment_Guide/index.html#sect-OpenShift_Enterprise-Deployment_Guide-Installing_and_Configuring_the_Broker_Application-Configuring_Bundler

The old command is the following:

   # bundle --local

In OSE 1.2, we will need to replace the above command with the following:

   # scl enable ruby193 bundle --local

We will also need to update "6.8.2. Cartridge Availability":

https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/1/html-single/Deployment_Guide/index.html#sect-OpenShift_Enterprise-Deployment_Guide-Continuing_Node_Installation_for_Enterprise-Cartridge_Availability

The old command is the following:

   # bundle exec rake tmp:clear

In OSE 1.2, we will need to replace the above command with the following:

   # scl enable ruby193 bundle exec rake tmp:clear