Can I use JRuby 1.5 with Nokogiri

I’m using JRuby 1.4.1 and tried switching to 1.5.1 but got all sorts of
warnings about ObjectSpace being disabled with nokogiri (1.4.1). Just
wondering if there are any issues I should be concerned with regarding
this. I know the pure java version of Nokogiri is not stable yet, but
I’d like to upgrade to JRuby 1.5.x if possible.

Note, I’m only using Nokogiri to swap out Rexml for my XML.mini backend
in Rails (2.3.5) ActiveResource, I don’t actually use the API directly
in my code.

Brad