On Wed, Oct 15, 2008 at 5:18 PM, Andrew Cone <[EMAIL PROTECTED]> wrote:
> Thanks! I just installed that, and it worked. One caveat: I had to
> change line 12 of /usr/local/lib/site_ruby/1.9.0/libxml.rb from
>
> require  'libxml_ruby'
>
> to
>
> require  'i486-linux/libxml_ruby'
>
> I also need to launch irb1.9 as follows:
>
> irb1.9  -I /usr/local/lib/site_ruby/1.9.0/
>
> and then I have to use
>
> require 'xml/libxml'
>
> instead of the more customary
>
> require 'libxml'

Ah, you are using the LibXML namespace at the toplevel. Just do:

  require 'xml'

This is equivalent to:

  require 'libxml'
  include LibXML

'xml/libxml' is just there for backward compatibility with how it used
to be required. Ultimately it will be deprecated.

T.
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to