[MacRuby] #989: external framework loading
MacRuby
ruby-noreply at macosforge.org
Thu Nov 4 15:46:51 PDT 2010
#989: external framework loading
-----------------------------+----------------------------------------------
Reporter: lp@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: framework external
-----------------------------+----------------------------------------------
Comment(by lsansonetti@…):
I grabbed the ObjCHiredis project from https://github.com/lp/ObjCHiredis,
ran xcodebuild in the source directory, then did the following:
{{{
$ cat t.rb
framework "ObjCHiredis"
p redis = ObjCHiredis.alloc.init
p redis.connect("127.0.0.1", on:6379)
$ DYLD_FRAMEWORK_PATH=build/Release /usr/local/bin/macruby t.rb
#<ObjCHiredis:0x4004d5cc0>
2010-11-04 15:46:10.732 macruby[27012:607] Connection error: connect:
Connection refused
0
}}}
So, it seems to work for me.
--
Ticket URL: <http://www.macruby.org/trac/ticket/989#comment:3>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list