From: Eloy D. <elo...@gm...> - 2007-08-08 20:06:51
|
Thanks Satoshi-san, I don't know why I overlooked it... heh :) On 8/8/07, Satoshi Nakagawa <sna...@in...> wrote: > Hi. > > >>> require 'osx/cocoa' > > => true > >>> require 'Test.bundle' > > LoadError: Failed to lookup Init function ./Test.bundle > > from ./Test.bundle > > from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in > > `require' > > from (irb):2 > > How about adding Init_Test function to Test.m? > > void Init_Test() { > } > > Actually there are Init_objc_test function in objc_test.m > > void Init_objc_test(){ > // dummy initializer for ruby's `require' > } > > -- > Satoshi Nakagawa > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > |