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@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@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel