Ruby 1.9 binary packe: Date.xmlschema and others not available

Robert Gogolok robertgogolok at yahoo.de
Thu Jan 17 10:04:48 UTC 2013


Hi,

I'm using FreeBSD 9.1 and tinderbox to build binary packages for my freebsd servers and desktop systems.
When building Ruby 1.9 locally (on the tinderbox machine) from the ports, the following code snippet works:

require 'date'
Date.xmlschema


When installing the binary package built by tinderbox, I can't access the method 'xmlschema'.

requirb(main):001:0> require 'date'
=> true
irb(main):002:0> Date.xmlschema
NoMethodError: undefined method `xmlschema' for Date:Class
from (irb):2
from /usr/local/bin/irb:12:in `<main>'


I can't find a compile time flag or sth similar that could hide xmlschema (and other methods like 'rfc2822', 'iso8601'...) from being built.
Any hints?

Robert



More information about the freebsd-ruby mailing list