Packaging for OS X

To package the game, you download a wrapper from the Gosu website. This is a complete application, written with Ruby and Gosu. It doesn’t do much, but has the whole environment needed to run the game. Then you’ll replace the application inside the wrapper with your game. Finally, you’ll make a few changes to a file called Info.plist. Then you can share it with your friends.

Get the Wrapper Application

The authors of Gosu have provided an application wrapper so you can make an OS X app from your Ruby/Gosu game. Using your browser, go to https://github.com/gosu/ruby_app/releases/.

images/packaging/releases.png

From that site, download the latest Ruby.app.zip ...

Get Learn Game Programming with Ruby now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.