R – How to embed a gem into a RubyCocoa app

cocoagemruby

I'd like to embed 2 gems into my RubyCocoa app, so the user doesn't have to install them on the console on him-/herself. But I can't find any information on about how to do that.

Best Solution

RubyCocoa includes a tool called standaloneify.rb that will include dependencies in your application bundle. Find it at [path to RubyCocoa.framework]/Versions/A/MacOS/Tools/standaloneify.rb.