Does not work on ruby 1.9.3
Closed this issue · 1 comments
bwl21 commented
[INFO] compileDocuments: 2013-02-09 16:03:46: combining the input files
/Volumes/Macintosh HD/Users/beweiche/beweiche_noTimeMachine/110_gzhb/30_Bearbeitung/ZSUPP_Proo-lib/lib/class.proolib.rb:516:in generateDocument': undefined method
each' for #String:0x007f8bba4081f0 (NoMethodError)
from compileDocuments.rb:93:in `
Root cause is that snippets is an array.but
a=["hugo"];b="foobar/#{a}"
yields
1.8.7: "foobar/hugo"
1.9.3: "foobar[\"hugo\"]"
Problem ocurs in line 246 of class.proolib.rb
if snippets.nil?
@snippets = nil
else
@snippets = File.expand_path("#{basePath}/#{snippets}")
end