Bug 838069

Summary: quick-start: redmine example dose not work for ruby-1.9
Product: OKD Reporter: Meng Bo <bmeng>
Component: TemplatesAssignee: Ram Ranganathan <ramr>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: mfisher, mpatel, mshao
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-13 23:43:27 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 Meng Bo 2012-07-06 11:52:01 UTC
Description of problem:
(/var/lib/stickshift/b04ca07195cf407fa2e2b78a839e6dc2/app-root/runtime/repo/config/locales/ja.yml): found unknown escape character while parsing a quoted scalar at line 958 column 29 (Psych::SyntaxError)

Above error appears when access the ruby-1.9 redmine app. 

Version-Release number of selected component (if applicable):
https://github.com/openshift/redmine-openshift-quickstart
cartridge-ruby-1.9-0.2.4-1.el6_3.noarch

How reproducible:
always

Steps to Reproduce:
1.following the quick-start step to deploy redmine with ruby-1.9 app
2.
3.
  
Actual results:
error page shows with error message:
(/var/lib/stickshift/b04ca07195cf407fa2e2b78a839e6dc2/app-root/runtime/repo/config/locales/ja.yml): found unknown escape character while parsing a quoted scalar at line 958 column 29 (Psych::SyntaxError)

Expected results:
redmine hoem page should show.

Additional info:
it works for ruby-1.8 app normally.

Comment 1 Ram Ranganathan 2012-07-06 22:36:43 UTC
This is an error with the app -- not with ruby-1.9 cartridge

Reducing the sev/pri of this bug -- redmine 1.2.1 which is the version of the quickstart doesn't really support ruby1.9.3. This is the list of supported versions on the Redmine site: 
http://www.redmine.org/projects/redmine/wiki/RedmineInstall


Would need to update the redmine quickstart.  Bug is not with the cartridge but w/ the quickstart.

Comment 2 Ram Ranganathan 2012-07-10 02:16:36 UTC
Created a new quickstart for Redmine 2.0.3 -- 
https://github.com/ramr/redmine-2.0-openshift-quickstart

And also requires:  https://github.com/openshift/crankcase/pull/210 

or just yum install ImageMagick-devel.

Comment 3 Ram Ranganathan 2012-07-10 19:20:29 UTC
Fixed and merged pull request.

Comment 4 Attila Nagy 2012-07-11 07:45:47 UTC
Verified that Redmine 2.0 quick-start works with Ruby 1.9 cartridge.