[MacRuby-devel] hpricot and macruby?

Laurent Sansonetti lsansonetti at apple.com
Wed May 4 13:20:11 PDT 2011


Hi Daniel,

I think the master branch is able to run hpricot, although I recommend using NSXMLDocument.

Laurent

On May 4, 2011, at 12:56 PM, macruby at djc.net wrote:

> With:
> MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64]
> and having done successfully:
> macgem install hpricot ...
> 
> I get this when trying to use the actual gem:
> 
> dyld: lazy symbol binding failed: Symbol not found: _rb_enc_to_index
>  Referenced from: /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/Gems/1.9.2/gems/hpricot-0.8.4/lib/fast_xs.bundle
>  Expected in: flat namespace
> 
> is this a hpricot or macruby issue?
> Any tips appreciated ... or do I give up, and attempt to convert this old script  to use: NSXMLDocument ?
> (ruby 1.8.7 is core dumping, having its own problems, so I am hoping MacRuby is up to the task...)
> 
> -Daniel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list