Other Pages

Expand All

OS X Panther

OS X 10.3-10.5 (Panther, Tiger, Leopard)

Step 1: XCode tools

These are part of OS X, but are not installed by default.

  • Insert your OS X DVD.

  • Look for Xcode.mkpg - it may be under "Optional Installs"

  • Double click to run the installer. It will take a while - the XCode tools are large.

Step 2: Git

Option 2.1: Leopard or Panther


Click "Download the packages here" which will take you to a list of downloads. Pick Intel if you have an Intel Mac, and Universal Binary if you have a PowerPC Mac.

Do I have an Intel or PowerPC Mac?

PowerPC (PPC) Macs are Apple's older line of machines with Motorola chips. Macs purchased since 2006 are almost all Intel. To find out for sure:

  • Click on the Apple menu in the top left corner of your screen.
  • Select "About this Mac."
  • It should have a line that starts with "Processor." If somewhere in that line it says "Intel," then you have an Intel Mac. Otherwise, you have a PPC Mac.

For more information, see the Apple Transition Timeline or the exhaustive list of Macintosh models on Wikipedia.

Option 2.2: Tiger

ask a TA to help you install git on Tiger

(you probably want to use MacPorts)

Step 3: Ruby, RubyGems, and Rails

Option 3.1: Tiger (10.4) and Panther (10.3)

visit http://rubyosx.rubyforge.org/

Select the correct download in the right side of the page

Option 3.2: Leopard (10.5)

use the built-in version of Ruby

Whenever you install a gem using the built-in Ruby you should precede 'gem install' with 'sudo'

Type this in the terminal:
sudo gem install rubygems-update
sudo update_rubygems
sudo gem update --system
sudo gem install rails

If you are having this error: ERROR: Error installing rubygems-update: hoe requires RubyGems version >= 1.3.1

Try the steps in this order:

sudo gem update --system
sudo gem install rubygems-update
sudo update_rubygems
sudo gem install rails

For Tiger ONLY:

  • Install the "X11 User" optional package from your OS X DVD.

  • Install [http://www.macports.org/install.php MacPorts].

  • Ruby: sudo port install ruby

  • Gems:

    • download [http://rubyforge.org/frs/?group_id=126 RubyGems]
    • unpack: tar xzf rubygems-1.3.5.tgz
    • cd rubygems-1.3.5
    • Install:ruby setup.rb
  • Rails: sudo gem install rails --version 2.3.9 --no-rdoc --no-ri

Step 4: Install Textmate

Sublime Text 2 isn't compatible with versions of OS X lower than 10.6 so we'll use Textmate (which is still widely used by Rails developers), you are free to use a different editor if you prefer. It must be a plain-text editor.

Microsoft Word and other word processing programs, including TextEdit and Notepad, will not work.

Step 4.1: Download Textmate 1.5.11

Download the Textmate installer.

Step 4.2: Select "Open with Archive Utility" in the file save dialog

This should be the default.

It will extract from the zip archive the Textmate application inside of your Downloads folder.

Step 4.3: Drag the Textmate application into your Applications folder.

Drag the Textmate application into your Applications folder.

Next Step: