Hi Martin,

There is a way: if you copy the .bridgesupport files of your system inside your application's bundle, under the Resources/BridgeSupport directory, MacRuby should look at them in priority.

Examples:

Foo.app/Contents/Resources/BridgeSupport/Foundation.bridgesupport
Foo.app/Contents/Resources/BridgeSupport/AppKit.bridgesupport
etc.

I think we should add an option to macruby_deploy to automate this. Could you file a ticket?

Laurent

On Feb 8, 2011, at 1:07 AM, Martin Hawkins wrote:

I installed BridgeSupport Preview 3 in order to resolve some issues
related to errors looking up constant values. The new BridgeSupport
worked fine and the application I have been working runs fine. I have
'embedded' MacRuby so that it can be distributed but here I come
unstuck.

When run on a computer that does not have the BridgeSupport upgrade,
it crashes; it seems that, while the app makes no reference to the
MacRuby framework, it does need the new version of BridgeSupport in
order to run.

This makes the notion of an embedding fragile - is there a way to
embed the required BridgeSupport, or must I require that users upgrade
their BrigeSupport before they install my app.?
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel