Actually, it would be great if you could file a report on MacRuby's trac: https://www.macruby.org/trac/report
Hey all, I hit a snag with the xml-object gem on MacRuby; the code works on MRI 1.9.2. A simple test case:$ macgem install xml-object$ macirb>require "rubygems"require "open-uri"require "xml-object"o=XMLObject.new(open("http://www.w3schools.com/xml/simple.xml"))NoMethodError: super: no superclass method `initialize' for #<XMLObject::Adapters::REXML::Element:0x2004fbea0 ...>/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/xml-object-0.9.93/lib/xml-object/adapters/rexml.rb:32:in `initialize:'/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/xml-object-0.9.93/lib/xml-object/adapters.rb:13:in `block'/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/xml-object-0.9.93/lib/xml-object/adapters.rb:13:in `initialize:'/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/xml-object-0.9.93/lib/xml-object/adapters/rexml.rb:32:in `initialize:'/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/xml-object-0.9.93/lib/xml-object/adapters.rb:13:in `block'/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/xml-object-0.9.93/lib/xml-object/adapters.rb:13:in `initialize:'/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/xml-object-0.9.93/lib/xml-object/adapters/rexml.rb:32:in `initialize:'/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/xml-object-0.9.93/lib/xml-object/adapters/rexml.rb:9:in `new:'/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/xml-object-0.9.93/lib/xml-object.rb:15:in `new:'The same test case works fine on MRI 1.9.2.Let me know if there's a better place to report issues like this.Andre
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel