Bug 838069 - quick-start: redmine example dose not work for ruby-1.9
Summary: quick-start: redmine example dose not work for ruby-1.9
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ram Ranganathan
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-06 11:52 UTC by Meng Bo
Modified: 2015-05-15 01:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-13 23:43:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.