[MacRuby] #989: external framework loading

MacRuby ruby-noreply at macosforge.org
Thu Nov 4 12:23:08 PDT 2010


#989: external framework loading
-----------------------------+----------------------------------------------
 Reporter:  lp@…             |       Owner:  lsansonetti@…        
     Type:  defect           |      Status:  new                  
 Priority:  blocker          |   Milestone:                       
Component:  MacRuby          |    Keywords:  framework external   
-----------------------------+----------------------------------------------
 when loading an external framework, if the full path is not specified, the
 framework loads but with missing methods and discrepancies:

 what works:

 {{{
 >> framework 'ObjCHiredis.framework'
 => true
 >> redis = ObjCHiredis.alloc.init
 => #<ObjCHiredis:0x200232880>
 >> redis.connect("127.0.0.1", on:6379)
 => 1
 }}}

 what doesn't:

 {{{
 >> framework 'ObjCHiredis'
 => true
 >> redis = ObjCHiredis.alloc.init
 => #<ObjCHiredis:0x2000fed40>
 >> redis.connect("127.0.0.1", on:6379)
 ArgumentError: wrong number of arguments (2 for 0)
 }}}

 basic cocoa and foundation framework have no problem though

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/989>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list