Skip to content

Instantly share code, notes, and snippets.

@robbdimitrov
Last active December 28, 2015 02:59
Show Gist options
  • Save robbdimitrov/7431497 to your computer and use it in GitHub Desktop.
Save robbdimitrov/7431497 to your computer and use it in GitHub Desktop.

Development Environment Setup

Install Xcode

Download Xcode from Apple Developer. Install Command Line Tools and iOS 6 simulator.

Setup terminal

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
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
  • Upgrade Git
brew install git

Setup Ruby

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment