Download Xcode from Apple Developer. Install Command Line Tools
and iOS 6 simulator
.
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
# Add Homebrews binary path to the front of the $PATH
echo "export PATH=/usr/local/bin:$PATH" >> ~/.bash_profile
source ~/.bash_profile
brew doctor
brew update
- Install oh-my-zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
- Upgrade Git
brew install git
- Install rbenv
brew install rbenv ruby-build
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
- Install ruby
rbenv install 2.0.0-p247
rbenv rehash
rbenv global 2.0.0-p247
- Install Bundler
rbenv shell 2.0.0-p247
gem install bundler
rbenv rehash
mkdir ~/.bundle
touch ~/.bundle/config
echo 'BUNDLE_PATH: vendor/bundle' >> ~/.bundle/config