librelist archives

« back to archive

Fwd: hpricot_bundle won't load on snow leopard

Fwd: hpricot_bundle won't load on snow leopard

From:
Chad Woolley
Date:
2010-06-19 @ 22:17
(also posted on RVM list:

http://groups.google.com/group/rubyversionmanager/browse_thread/thread/ea63eb6733fafbe7?hl=en
)

When I install hpricot 0.6.164 under rvm on snow leopard,
hpricot_scan.bundle fails to load.  Happens with latest version as
well.

This gem comes preinstalled on the Snow Leopard install, and works
fine from there.  Manually copying in the hpricot_scan.bundle which
comes with the pre-installed hpricot gem on Snow Leopard into the RVM
gem dir results in a segfault.

http://gist.github.com/440334 (updated)

Several google hits on "hpricot_scan" "no suitable image found", no
answers.  Hpricot google group seems to be nothing but spam.

I'm pretty sure this works on other systems which use MacPorts instead
of HomeBrew.  That seems to be a clue, I can look into it.  Otherwise
debugging the build of hpricot_scan.bundle seems the only avenue.

Probably easier to just switch this app over to nokogiri :)

Thanks,
-- Chad