YAML.load produces: allocator undefined for Symbol (TypeError) --------------------------------------------------------------
Key: JRUBY-3968 URL: http://jira.codehaus.org/browse/JRUBY-3968 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.3.1 Environment: jruby 1.3.1 (ruby 1.8.6p287) (2009-09-15 2fd6c3d) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_12) [amd64-java] Reporter: Brice Figureau Attachments: jruby-yaml-test.rb Using either jruby 1.3.1 or 1.4.0-dev, and the attached failing snippets, I consistently get: % jruby /tmp/test3.rb /tmp/test3.rb:11: allocator undefined for Symbol (TypeError) but with MRI 1.8.7 (from which the included yaml dump has been produced): % ruby /tmp/test3.rb #<YAML::Object:0x7f55f92b2d60 @ivars={"values"=>{:_timestamp=>"Tue Sep 15 12:54:43 -0400 2009", "hardwareisa"=>"unknown", "lsbdistcodename"=>"lenny"}}, @class="Puppet::Node::Facts"> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email