Ruby Windows Installer "ruby180-9"/yaml

Hi,

I’ve just replaced ruby173-8 with ruby180-9 (that now includes yaml)
and I am getting “parse error” when loading my yaml files.
I’ve noticed that the included version uses syck parser:

begin
    require 'yaml/syck'
    @@parser = YAML::Syck::Parser
    @@loader = YAML::Syck::DefaultLoader
rescue LoadError
    require 'yaml/parser'
    @@parser = YAML::Parser
    @@loader = YAML::DefaultLoader
end

I’ve tried to comment it out but ‘yaml/parser’ is missing.

Any ideas?

Thanks,

Yura.

YAML::Parser was written in Ruby and is deprecated with the new parser
included in Ruby 1.8.0. Send me the parse error(s) and we’ll get the new
parser to read it.

Same goes for anyone else who is experiencing parse errors of any kind. I’d
like to know about these immediately.

_why

···

On Wednesday 04 June 2003 05:32 pm, Yura Kloubakov wrote:

I’ve tried to comment it out but ‘yaml/parser’ is missing.