Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Laptop is a shell script that turns your Mac OS X laptop into an awesome development machine.
Pull request Compare This branch is 2 commits ahead, 224 commits behind thoughtbot: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.


  • A C compiler, such as GCC, LLVM, or Clang.

Download a compiler from 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).

  • zsh as your login shell.

To change your login shell run this from a Terminal:

chsh -s /bin/zsh


Run the script:

zsh < <(curl -s

What it sets up

  • Homebrew (for managing operating system libraries)
  • Qt (used by Capybara Webkit for headless JavaScript testing)
  • Ack (for finding things in files)
  • ImageMagick (for cropping and resizing images)
  • RVM (for managing versions of the Ruby programming language)
  • Ruby language (for writing general-purpose code)
  • Bundler gem (for managing Ruby libraries)
  • Rails gem (for writing web applications)
  • Git Remote Branch gem (for faster git branch creation and deletion)

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

Something went wrong with that request. Please try again.