From: Joel VanderWerf Date: 2007-11-11T05:33:05+09:00 Subject: Re: yaml error. dunno why Junkone wrote: > i have a simple yml file and am trying to parse it. > > development: > TWSDirectory: E:\Jts\dlqkjifys\ > Second: E:\Jts\test\ > > i get a error that i am not able to comprehend. pl help > irb(main):020:0> conf = YAML::load(File.open(RailsDirectory+ 'config/ > constants.y > ml')) > 'rgumentError: syntax error on line 5, col 12: ` Second: E:\Jts > \test\ > from e:/ruby/lib/ruby/1.8/yaml.rb:133:in `load' > from e:/ruby/lib/ruby/1.8/yaml.rb:133:in `load' > from (irb):20 > I suspect the backslashes need to be escaped: h = YAML.load(<