Skip to content

Instantly share code, notes, and snippets.

@choxi
Forked from jpantuso/osx_lion_rail_setup.md
Created June 14, 2012 04:03
Show Gist options
  • Save choxi/2927928 to your computer and use it in GitHub Desktop.
Save choxi/2927928 to your computer and use it in GitHub Desktop.
Setup OS X 10.7 w/ homebrew, oh-my-zsh, rvm, rails, and MySQL

Installation Update

A few of you have been having a lot of trouble with the "Laptop" script that's supposed to install a bunch of tools for you and I apologize for that, there are actually only 2 main tools that you need to have installed. If you haven't already done the developer setup yet, please follow these updated instructions instead:

Note: We'll be checking version numbers to make sure things were installed correctly, it's completely OK if your version number is not exactly the same as the ones I've given as examples below.

OSX Lion

If you're not on OS X Lion, you will need to upgrade to it. I should have mentioned that as an up front prerequisite, so if you do need to upgrade please let me know and I'll refund you $30 to cover the cost of the upgrade.

Install XCode 4

Get it from the App Store

The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.

$ ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

check the version number to see if it installed correctly by running:

$ brew -v
0.8.1

Install Git (using Hombrew)

$ brew install git

check the version number to see if it installed correctly by running:

$ git -v
git version 1.7.7.4

Install RVM: http://rvm.io

$ curl -L https://get.rvm.io | bash -s stable --ruby

check the version number to see if it's working by opening a new tab and running $ rvm -v. You should see something like:

$ rvm -v                                                                                                                 

rvm 1.10.2 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment