[MacRuby] #1235: Need to implement rb_enc_to_index.
MacRuby
ruby-noreply at macosforge.org
Tue Apr 19 10:37:54 PDT 2011
#1235: Need to implement rb_enc_to_index.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
I use Hpricot 0.8.4, and ran a script as following.
Test Script:
{{{
#!ruby
require 'rubygems'
require 'hpricot'
doc = Hpricot("<p>A simple <b>test</b> string.</p>")
p doc
}}}
Result:
{{{
$ ruby19 test_hpricot.rb
#<Hpricot::Doc {elem <p> "A simple " {elem <b> "test" </b>} " string."
</p>}>
$ macruby test_hpricot.rb
dyld: lazy symbol binding failed: Symbol not found: _rb_enc_to_index
Referenced from:
/Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/Gems/1.9.2/gems/hpricot-0.8.4/lib/fast_xs.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_enc_to_index
Referenced from:
/Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/Gems/1.9.2/gems/hpricot-0.8.4/lib/fast_xs.bundle
Expected in: flat namespace
zsh: trace trap macruby test_hpricot.rb
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1235>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list