- Download and install Command Line Tools for Xcode[https://developer.apple.com/downloads/index.action?=command%20line%20tools]
- Install Homebrew[http://mxcl.github.com/homebrew/]
- Install Git $ brew install git $ cd $ git clone git://github.com/sstephenson/rbenv.git .rbenv $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_login $ echo 'eval "$(rbenv init -)"' >> ~/.bash_login
- Install ruby-build $ mkdir -p ~/.rbenv/plugins $ cd ~/.rbenv/plugins $ git clone git://github.com/sstephenson/ruby-build.git
- Install Ruby 1.9.3 $ CC=/usr/bin/clang rbenv install 1.9.3-p194
- Set 1.9.3 as global $ rbenv global 1.9.3-p194
- Install rdoc $ sudo gem install rdoc
- Install rails $ sudo gem install rails
- Install bundler $ sudo gem install bundler
- Install Quartz[http://xquartz.macosforge.org/downloads/SL/XQuartz-2.7.4.dmg]
- Install MongoDB $ brew install mongodb $ mkdir -p ~/Library/LaunchAgents $ cp /usr/local/Cellar/mongodb/2.2.2-x86_64/homebrew.mxcl.mongodb.plist ~/Library/LaunchAgents/ $ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
- Install imagemagick $ brew install imagemagick
- Install POW $ curl get.pow.cx | sh $ cd ~/.pow $ ln -s ~/Sites/storyberg
If POW loads the wrong ruby version you might have to add the following to ~/.powconfig export PATH="/usr/local/Cellar/rbenv/0.3.0/bin:/Users/micdijkstra/.rbenv/shims:/Users/micdijkstra/.rbenv/bin:$PATH"