[MacRuby-devel] BridgeSupport Requirement

Laurent Sansonetti lsansonetti at apple.com
Tue Feb 8 01:50:25 PST 2011


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110208/3cf57e8f/attachment.html>


More information about the MacRuby-devel mailing list