From the course: Code Clinic: Ruby

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Installing Gosu

Installing Gosu

From the course: Code Clinic: Ruby

Start my 1-month free trial

Installing Gosu

- In this movie we'll learn to install Gosu, which is a RubyGem to allow you to write games in Ruby. You can find out more information about Gosu from their website, libgosu.org. They also have a github repository where the code lives, and they have a wiki there which provides documentation about how to use and how to install Gosu. So if in doubt, refer to those two sources for installation information. I'm going to walk you through the basic process. If you're working on a Mac then the best way to install Gosu is to first make sure that you have the command line tools for Xcode installed. Specifically what we need is gcc, that's a compiler that allows us to compile C code. Remember we're going to need to be able to create code in C to be able to talk to our mouse and our sound card. If you're on OS X Mavericks, the easiest way to get that installed is just to type xcode-select --install, and it will go out to Apple's website and get those command line tools and install them for you…

Contents