How to embed a gem in a RubyCocoa application?

I would like to insert 2 gems into my RubyCocoa application, so the user does not need to install them on the console on himself. But I can not find information on how to do this.

+3
source share
2 answers

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

+1
source

I don’t know how RubyCocoa deals with things, but I would suggest that you can use gem unpackto extract the source of precious stones to some directory in the root of your project, and then reference the library from there.

+1

Source: https://habr.com/ru/post/1702875/


All Articles