I'm running the following command to prepare my app to share with testers.

PATH="$PATH:/usr/local/bin" macruby_deploy --embed --compile
"$TARGET_BUILD_DIR/$PROJECT_NAME.app"

On my machine, its says the app directory is ~25MB but testers get the
following error when they try to run it:

dyld: Library not loaded:
@executable_path/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib
  Referenced from: /Applications/ViKing.app/Contents/MacOS/ViKing
  Reason: no suitable image found.  Did find:

/Applications/ViKing.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib:
unknown file type, first eight bytes: 0x6C 0x69 0x62 0x6D 0x61 0x63 0x72
0x75

/Applications/ViKing.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib:
unknown file type, first eight bytes: 0x6C 0x69 0x62 0x6D 0x61 0x63 0x72
0x75
Trace/BPT trap

When I upload the app directory to a remote server it's ~55MB and works only
other's machines.

I assume this is due to symbolic links.  Has anyone else seen this or have a
fix for it?  Perhaps I'm missing a flag that I need to pass to
macruby_deploy.

Thanks,
Kevin

-- 
Kevin Colyar
http://kevin.colyar.net
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to