[MacRuby-devel] Creating an objective c bundle

Robert Lowe rob at iblargz.com
Fri Jul 1 00:27:53 PDT 2011


Amazing thanks Matt!!

On 2011-07-01, at 3:20 AM, Matt Aimonetti wrote:

> I updated the documentation with a chapter in my book: http://ofps.oreilly.com/titles/9781449380373/_objective_c_code_in_macruby_apps.html
> 
> - Matt
> 
> On Thu, Jun 30, 2011 at 10:33 PM, Robert Lowe <rob at iblargz.com> wrote:
> Hi all,
> 
> I was following the guide : http://www.macruby.org/recipes/create-an-objective-c-bundle.html
> 
> In xcode 4, it compiles fine.
> 
> However the packaging or something is creating some wrapping directories, it's not compiling into a single object / dynamic lib...
> 
> the binary is at:
> 
> test_engine.bundle/Contents/MacOS/test_engine
> 
> ▸▸▸▸▸ MacOS viral$ macirb
> irb(main):001:0> require 'test_engine'
> LoadError: no such file to load -- test_engine
> 
> Now if I rename the binary:
> 
> ▸▸▸▸▸ MacOS viral$ cp test_engine test_engine.bundle
> ▸▸▸▸▸ MacOS viral$ macirb
> require 'irb(main):001:0> require 'test_engine'
> => true
> 
> 
> Any thoughts?
> 
> 
> Regards,
> - Rob
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110701/d3a144f8/attachment.html>


More information about the MacRuby-devel mailing list