|Last Update:||2009-10-24 15:52:57 -0500|
Rubygame does not need to be compiled anymore (since version 2.6), but you will need to install the Xcode development tools in order to install the dependencies with Fink or Darwinports, as well as to compile rsdl.
You can find Xcode on your Mac OS X installation disc. Or, you can download Xcode online. You must register for a (free) Mac developer account for this.
You have two options for installing the software libraries that Rubygame depends on: Fink or Darwinports. Which option you choose is just a matter of preference.
sudo apt-get install sdl
sudo apt-get install sdl-gfx13 sdl-image sdl-mixer sdl-ttf
Thanks to Matt Crinklaw for these instructions.
sudo port install libsdl
sudo port install libsdl_gfx libsdl_image libsdl_mixer libsdl_ttf
Thanks to Raffael Mancini (sepisultrum) for these instructions.
In order to use Rubygame applications on Mac OS X, you must use a special wrapper for the Ruby interpreter, called rsdl.
ruby ./configure.rb make sudo cp rsdl /usr/local/bin/
The simplest way to install Rubygame is: gem install rubygame
If all went well, you can now run Rubygame applications like so: