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 1.9 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.
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
# Encoding: UTF-8on the first line of every source file that uses non-ASCII characters.
.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.
Last edited by jlnr,