Hpricot segfault OSX - ruby1.9.1

Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby 1.9.1?

I’ve installed ruby with MacPorts.

Here’s the error:

/opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
fast_xs.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]

Abort trap

ruby -v:
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]

-Adam

Adam S. [email protected] wrote:

Is anybody else seeing a segfault on hpricot on OSX 10.6 and Ruby 1.9.1?

I’ve installed ruby with MacPorts.

Here’s the error:

/opt/local/lib/ruby1.9/gems/1.9.1/gems/hpricot-0.8.1/lib/
fast_xs.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
^^^^^
- looks like your app is running a different Ruby install

OSX comes with a default install of ruby 1.8.7, in a completely
seperate directory structure.

All my other gems etc are compiling correctly… I agree somehow the
hpricot compilier seems to find the wrong version of ruby… to
compile against.

Just wondering if anybody else has since this, and if so is there a
‘fix’?

-Adam