Do you want to share your game with other Mac users? Simply follow these steps:
And you’re done! You should now have a fully functional .app bundle.
The .app is a self-contained Ruby 2.1 installation with most of the standard library plus a few libraries that are often used together with Gosu.
There is a relatively new gem that can handle the packaging for you:
It really does nothing else than to automate the process outlined above. (Note: Might not be updated for the latest .app yet)
cdinto the same directory in which the
.appfile is located. Then run
.zipfile, deleting the
.app, and unpacking the
.zipfile again. This will force OS X to forget any information that it may have cached about the app. (This is sometimes necessary for OS X to recognise changes made to the
.appfolder predates it. You might need to ask on the forum, or use
releasywhich understands bundler.
libfolder. If you need C extensions that are not included in the .app, you should ask on the Extending Gosu board.