NameError Exception if I try to use syck as YAML engine
-------------------------------------------------------

                 Key: JRUBY-6100
                 URL: https://jira.codehaus.org/browse/JRUBY-6100
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
    Affects Versions: JRuby 1.6.4
            Reporter: Kai D
            Priority: Minor


If I run following code in irb
{code}
require "yaml"
YAML::Engine.yamler = "syck"
[].to_yaml {code}
I get this error:
{code}
NameError: uninitialized constant Syck::Yecht
        from org/jruby/RubyModule.java:2569:in `const_missing'
        from org/jruby/RubyClass.java:219:in `allocate'
        from /home/kai/.rvm/rubies/jruby-1.6.4/lib/ruby/1.9/syck.rb:102:in 
`emitter'
        from /home/kai/.rvm/rubies/jruby-1.6.4/lib/ruby/1.9/syck.rb:399:in 
`quick_emit'
        from 
/home/kai/.rvm/rubies/jruby-1.6.4/lib/ruby/1.9/syck/rubytypes.rb:111:in 
`to_yaml'
        from (irb):3:in `evaluate'
        from org/jruby/RubyKernel.java:1093:in `eval'
        from org/jruby/RubyKernel.java:1419:in `loop'
        from org/jruby/RubyKernel.java:1205:in `catch'
        from org/jruby/RubyKernel.java:1205:in `catch'
        from /home/kai/.rvm/rubies/jruby-1.6.4/bin/irb:17:in `(root)'
{code}

I tried to run the webframework padrino with jruby 1.6.4. But the creation of a 
new padrino project crashs because padrino uses syck as YAML parser.

--
This message is automatically generated by JIRA.
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


Reply via email to