Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 700

Warning: Invalid argument supplied for foreach() in /home/jacius/rubygame/w/includes/MagicWord.php on line 701

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/jacius/rubygame/w/includes/MagicWord.php on line 705

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722
Mac Installation Guide - Rubygame

Mac Installation Guide


Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/jacius/rubygame/w/includes/MagicWord.php on line 722
From Rubygame

Jump to: navigation, search
(Rewrote Xcode section)
(Easy install with Mac Pack)
Line 1: Line 1:
-
== Installing Xcode ==
+
== Easy Install ==
 +
 
 +
If you have an Intel Mac (any Mac from 2007 or newer) and are using the default version of Ruby that comes with Mac OS X, try out the '''[http://blog.rubygame.org/articles/2009/10/28/rubygame-mac-pack Rubygame Mac Pack]''' for a really easy install!
 +
 
 +
== More Difficult Install ==
 +
 
 +
If you have a PowerPC Mac (older than 2007) or are using a non-default version of Ruby, you will need to compile Rubygame's dependencies yourself, or ask nicely in the [[Community|forums or IRC channel]] for someone to do it for you.
 +
 
 +
''Note:'' Due to a limitation in SDL, Rubygame does not work on JRuby on Macs, sorry.
 +
 
 +
=== Installing Xcode ===
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.
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.
Line 8: Line 18:
* Mac OS X 10.3 (Panther) and 10.4 (Tiger): [https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=19907 Xcode 2.5]
* Mac OS X 10.3 (Panther) and 10.4 (Tiger): [https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=19907 Xcode 2.5]
-
== Installing dependencies... ==
+
=== Installing dependencies... ===
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.
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.
-
=== ...with [http://www.finkproject.org/ Fink] ===
+
==== ...with [http://www.finkproject.org/ Fink] ====
# [http://www.finkproject.org/download/index.php?phpLang=en Install Fink] and update to the latest version.
# [http://www.finkproject.org/download/index.php?phpLang=en Install Fink] and update to the latest version.
Line 21: Line 31:
Thanks to Matt Crinklaw for these instructions.
Thanks to Matt Crinklaw for these instructions.
-
=== ...with [http://darwinports.com/ Darwinports] ===
+
==== ...with [http://darwinports.com/ Darwinports] ====
# [http://darwinports.com/download/ Install Darwinports] (you must register first).
# [http://darwinports.com/download/ Install Darwinports] (you must register first).
Line 30: Line 40:
Thanks to Raffael Mancini (sepisultrum) for these instructions.
Thanks to Raffael Mancini (sepisultrum) for these instructions.
-
== Installing rsdl ==
+
=== Installing rsdl ===
In order to use Rubygame applications on Mac OS X, you must use a special wrapper for the Ruby interpreter, called rsdl.
In order to use Rubygame applications on Mac OS X, you must use a special wrapper for the Ruby interpreter, called rsdl.
Line 41: Line 51:
  sudo cp rsdl /usr/local/bin/
  sudo cp rsdl /usr/local/bin/
-
== Installing Rubygame ==
+
=== Installing Rubygame ===
The simplest way to install Rubygame is: {{code|gem install rubygame}}
The simplest way to install Rubygame is: {{code|gem install rubygame}}
Line 47: Line 57:
Or you can [http://github.com/jacius/rubygame/ download the source from Github] and follow the installation instructions in README.
Or you can [http://github.com/jacius/rubygame/ download the source from Github] and follow the installation instructions in README.
-
== Running an application ==
+
=== Running an application ===
If all went well, you can now run Rubygame applications like so:  
If all went well, you can now run Rubygame applications like so:  

Revision as of 02:43, 6 November 2009

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox