Mark Thomas wrote:
>
> As I just posted in another message, it works for me. I wonder what's
> different about my environment. Are you using Nokogiri 1.4.0?

Yes, however I get a warning message that informs me that I'm using an 
outdated version of libxml2:

$ ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.11.1]

$ nokogiri -v
HI.  You're using libxml2 version 2.6.16 which is over 4 years old and 
has
plenty of bugs.  We suggest that for maximum HTML/XML parsing pleasure, 
you
upgrade your version of libxml2 and re-install nokogiri.  If you like 
using
libxml2 version 2.6.16, but don't like this warning, please define the 
constant
I_KNOW_I_AM_USING_AN_OLD_AND_BUGGY_VERSION_OF_LIBXML2 before requring 
nokogiri.

/usr/local/lib/ruby/gems/1.8/gems/nokogiri-1.4.0/lib/nokogiri/xml/builder.rb:272: 
warning: parenthesize argument(s) for future version
---
nokogiri: 1.4.0
warnings: []

libxml:
  compiled: 2.6.16
  loaded: 2.6.16
  binding: extension


So it could be something with that, or maybe it has something to do with 
the fact that ruby 1.8.7 back ports some stuff from ruby 1.9.
-- 
Posted via http://www.ruby-forum.com/.