Path: | doc/macosx_install.rdoc |
Last Update: | Sat Apr 21 15:53:17 -0400 2007 |
This is an outline of the steps to compile and use Rubygame on Mac OS X!
You have two options for installing the software libraries that Rubygame depends on: Darwinports or Fink. Which option you choose is just a matter of preference.
sudo port install libsdl
sudo port install libsdl_gfx libsdl_image libsdl_mixer libsdl_ttf
sudo apt-get install sdl
sudo apt-get install sdl-gfx13 sdl-image sdl-mixer sdl-ttf
In order to use Rubygame applications on Mac OS X, you must use a special wrapper for the ruby interpreter, called rsdl.
make sudo cp rsdl /usr/local/bin/
sudo ruby setup.rb all
sudo rake install
If all went well, you can now run Rubygame applications like so: rsdl a_rubygame_app.rb
If something bad happened along the way, you can submit a support request and we‘ll try to help! Be sure to include plenty of details and paste any error messages that occur (plus a good bit of the text right before the error messages).
(Many thanks to Raffael Mancini (sepisultrum) and Matt Crinklaw for instructions to install dependencies with darwinports and fink, respectively.)