JRuby has no Implementation for YAML.add_builtin_type
-----------------------------------------------------
Key: JRUBY-4874
URL: http://jira.codehaus.org/browse/JRUBY-4874
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.4, JRuby 1.3, JRuby 1.2
Environment: Archlinux X86_64
Linux 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 11:32:37 CEST 2010 x86_64 Intel(R)
Core(TM)2 Duo CPU T8300 @ 2.40GHz GenuineIntel GNU/Linux
Reporter: Dress Guard
JRuby does not have an implementation of "YAML.add_builtin_type". Please see
for yourself:
from jirb invoke:
require 'yaml'
YAML.methods
I tested with several JRuby versions but everyone failed. This method is needed
in the newer versions of the RoR web framework e.g. in the activesupport
library 2.3.8 which throws the following error:
"/opt/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/ordered_hash.rb:3:
undefined method `add_builtin_type' for YAML:Module (NoMethodError)"
I would need a 1.8.6 compliant JRuby version.
--
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