Laptop is a shell script that turns your Mac OS X laptop into an awesome development machine.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead, 270 commits behind thoughtbot:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
mac
ruby

README.md

Laptop

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

Requirements

  • 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

Install

Run the script:

zsh < <(curl -s https://raw.github.com/NiDi/laptop/master/mac)

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.