Other Pages

Expand All

osx_panther.step

div do
message <<-MARKDOWN
OS X 10.3-10.5 (Panther, Tiger, Leopard)

  MARKDOWN
end

step "XCode tools " do
  message <<-MARKDOWN

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.

  MARKDOWN
end

step "Git " do

  option "Leopard or Panther" do
    url "http://code.google.com/p/git-osx-installer/"

    message %q{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.}

    message <<-MESSAGE, class: "pertinent-info"

### 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](http://en.wikipedia.org/wiki/Apple%E2%80%93Intel_transition#Timeline) or the [exhaustive list of Macintosh models](http://en.wikipedia.org/wiki/Timeline_of_Macintosh_models#2000s) on Wikipedia.
    MESSAGE
  end

  option "Tiger" do
    message "ask a TA to help you install git on Tiger"
    message "(you probably want to use MacPorts)"
  end

end

step "Ruby, RubyGems, and Rails " do

  option "Tiger (10.4) and Panther (10.3)" do
    message "visit <http://rubyosx.rubyforge.org/>"
    message "Select the correct download in the right side of the page"
  end

  option "Leopard (10.5)" do
    message "use the built-in version of Ruby"
    important "Whenever you install a gem using the built-in Ruby you should precede 'gem install' with 'sudo'"
  end
  console <<-BASH
sudo gem install rubygems-update
sudo update_rubygems
sudo gem update --system
sudo gem install rails
  BASH

  message <<-MARKDOWN

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: <code>sudo port install ruby</code>

* Gems:
 * download [<http://rubyforge.org/frs/?group_id=126> RubyGems]
 * unpack: <code>tar xzf rubygems-1.3.5.tgz</code>
 * <code>cd rubygems-1.3.5</code>
 * Install:<code>ruby setup.rb</code>

* Rails: <code>sudo gem install rails --version 2.3.9 --no-rdoc --no-ri</code>

  MARKDOWN
end

step "Install Textmate" do
  insert "install_textmate"
end

next_step "create_an_ssh_key"