Bug 1505757

Summary: Sample command in oc new-app help page not work
Product: OpenShift Container Platform Reporter: Wenjing Zheng <wzheng>
Component: ocAssignee: Ben Parees <bparees>
Status: CLOSED ERRATA QA Contact: Wenjing Zheng <wzheng>
Severity: low Docs Contact:
Priority: medium    
Version: 3.7.0CC: aos-bugs, jokerman, jvallejo, mmccomas
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-18 13:22:48 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 Wenjing Zheng 2017-10-24 08:53:42 UTC
Description of problem:
When check the help page of oc new-app, there is a sample command: oc new-app https://github.com/openshift/ruby-hello-world#beta4, but it doesn't work for error: 
Step 7 : RUN scl enable ror40 "bundle install"
 ---> Running in 439938beb1b8
Bundler::GemfileNotFound
error: build error: The command '/bin/sh -c scl enable ror40 "bundle install"' returned a non-zero code: 10


Version-Release number of selected component (if applicable):
oc v3.7.0-0.162.0
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth GSSAPI Kerberos SPNEGO

How reproducible:
always

Steps to Reproduce:
1. oc new-app --help
2. oc new-app https://github.com/openshift/ruby-hello-world#beta4
3.

Actual results:
Build failed when using sample command in help page of oc new-app

Expected results:
It should succeed.

Additional info:

Comment 1 Ben Parees 2017-11-29 16:59:39 UTC
beta4 branch has been fixed.

Comment 2 Wenjing Zheng 2017-12-04 06:41:09 UTC
Verified with below version:
openshift v3.7.11
kubernetes v1.7.6+a08f5eeb62
etcd 3.2.8

Comment 5 errata-xmlrpc 2017-12-18 13:22:48 UTC
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.

https://access.redhat.com/errata/RHBA-2017:3464