Yep it does.

But if you copy the BridgeSupport file under the "special" Resources/BridgeSupport directory of your .app bundle, you do not need to pass the full path nor use #load_bridge_support_file. You can just use #framework as before.

Laurent

On Feb 8, 2011, at 1:56 AM, Robert Payne wrote:

If you specify a full path does Bridge Support behave this way? Such as

load_bridge_support_file NSBundle.mainBundle.pathForResource("MyFramework", ofType:"bridgesupport")

Robert

On 8/02/2011, at 10:50 PM, Laurent Sansonetti wrote:

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel