Install a Text Editor

You can write Ruby programs in any text editor, such as Notepad on Windows or TextEdit on OS X. Your experience will be much better with a specialized programming text editor, which can help you by automatically indenting code, coloring your code based on its syntax, and more. If you have a favorite and know how to use it, by all means use what you have. If you don’t yet have a programming editor, using Sublime Text 3 is a great option for working with Ruby and Gosu.

Sublime Text 3 is a cross-platform text editor with versions for Mac, Windows, and Linux. You can download the most recent version of Sublime Text 3 at http://www.sublimetext.com/3. When you are editing a Ruby file in Sublime Text, you can run it with Ctrl-B ...

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.