Fail to read YAML file?

Hi everybody,

I have a standard yaml file, that I try to read in with JRuby 1.4.0dev.
This fails with the following under windows:

irb(main):001:0> require ‘yaml’
=> true
irb(main):002:0> config = YAML.load_file ‘mavenizer.yml’
ArgumentError: syntax error on line 6, col 2: dependency: exception ' from yaml:134:inload’
from yaml:145:in load_file' from yaml:144:inopen’
from yaml:144:in `load_file’
from (irb):3
irb(main):003:0>

To read the YAML file under other runtimes is no problem.

With JRuby under Mac OS X it is no problem.

Who has an idea?

Cheers
Michael
---- Msg sent via @Mail - http://atmail.com/


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs