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

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

···

Adam Salter <adam.q.salter@gmail.com> wrote:

Abort trap

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

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

···

On 16/09/2009, at 8:50 AM, Eric Wong wrote:

Adam Salter <adam.q.salter@gmail.com> 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

Abort trap

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