Bug 1387594

Summary: https://github.com/openshift/ruby-hello-world.git#beta4 does not build
Product: OKD Reporter: Jan Pazdziora <jpazdziora>
Component: DocumentationAssignee: Nobody <nobody>
Status: NEW --- QA Contact: Ronaldo Rivera <rrivera>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.xCC: mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Pazdziora 2016-10-21 10:49:01 UTC
Document URL: 

https://docs.openshift.org/latest/dev_guide/new_app.html

Section Number and Name: 

Creating an Application From Source Code

Describe the issue: 

There is an example

$ oc new-app https://github.com/openshift/ruby-hello-world.git#beta4

But running that produces failed build:

Status: Downloaded newer image for docker.io/openshift/ruby-20-centos7@sha256:7fbab8bf11011d0c5c8d12733026621352111037f00840b7749693bf31927798
 ---> 5abebcd45e00
Step 2 : USER default
 ---> Running in 07d6cea2407b
 ---> 2806f176ec70
Removing intermediate container 07d6cea2407b
Step 3 : EXPOSE 8080
 ---> Running in 91c270697147
 ---> e188669b6cdd
Removing intermediate container 91c270697147
Step 4 : ENV RACK_ENV production
 ---> Running in f3cbf9de37de
 ---> 980378b1fd55
Removing intermediate container f3cbf9de37de
Step 5 : ENV RAILS_ENV production
 ---> Running in 441d47b20c55
 ---> 77c5724875fd
Removing intermediate container 441d47b20c55
Step 6 : COPY . /opt/openshift/src/
 ---> 8bcec6953ef4
Removing intermediate container 72be7daac843
Step 7 : RUN scl enable ror40 "bundle install"
 ---> Running in f68ccabc1930
Bundler::GemfileNotFound
error: build error: The command '/bin/sh -c scl enable ror40 "bundle install"' returned a non-zero code: 10

with OpenShift Origin 1.3 running on Fedora 24.

Suggestions for improvement: 

Have examples in documentation that show repositories / applications that work.

Additional information: