Laptop is a shell script that turns your Mac OS X laptop into an awesome development machine.
Pull request Compare This branch is even with chrisrhoden:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Laptop is a script to set up your Max OS X laptop as a Rails development machine.


Before you run this script, you need compilers like GCC, LLVM, and Clang.

Get them via OS X GCC Installer if you're on Snow Leopard (OS X 10.6) or Command Line Tools for XCode if you're on Lion (OS X 10.7).

Run the script:

bash < <(curl -s

What it sets up

  • SSH public key (for authenticating with services like Github and Heroku)
  • Homebrew (for managing operating system libraries)
  • Ack (for finding things in files)
  • MySQL (for storing relational data)
  • RVM (for managing versions of the Ruby programming language)
  • Ruby language (for writing general-purpose code)
  • Bundler gem (for managing Ruby libraries)
  • MySQL gem (for making Ruby talk to SQL databases)

It should take about 30 minutes for everything to install, depending on your machine.