Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395121 - www-servers/gorg-0.6.4-r1 fails to run with ruby19
Summary: www-servers/gorg-0.6.4-r1 fails to run with ruby19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on: 386513
Blocks:
  Show dependency tree
 
Reported: 2011-12-18 04:37 UTC by Tomoh K.
Modified: 2012-10-26 12:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch for gorg-0.6.4 (gorg-0.6.4-each_line.patch,690 bytes, patch)
2011-12-18 04:37 UTC, Tomoh K.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoh K. 2011-12-18 04:37:54 UTC
Created attachment 296191 [details, diff]
A patch for gorg-0.6.4

gorg uses String#each method that is obsoleted in >=ruby-1.9.

Steps to reproduce.
1. RUBY_TARGETS="ruby19" emerge =gorg-0.6.4-r1 
2. Set up /etc/gorg/gorg.conf properly.
3. eselect ruby set ruby19
4. Launch gorg.

Actual results.
tomo@katura ~ $ gorg
Gorg::init failed: Could not parse config file: undefined method `each' for #<String:0x00000001142b60>

Proposed patch is attached.
Regards.
Comment 1 Hans de Graaff gentoo-dev Security 2012-10-26 12:33:58 UTC
Thanks for the report. Fixed in gorg 0.6.5.