[MacRuby-devel] Creating an objective c bundle
Robert Lowe
rob at iblargz.com
Thu Jun 30 22:33:19 PDT 2011
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
More information about the MacRuby-devel
mailing list