-
Notifications
You must be signed in to change notification settings - Fork 0
Enviroment
Gary edited this page Mar 30, 2015
·
6 revisions
Max OS version: 10.10 (Yosemite)
open terminal
xcode-select --install
Step 2. Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
After install homebrew, run command below to check your environments:
brew doctor
Step 3. Install oh my zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
Step 4. Install Rbenv
touch .gemrc | echo "gem: --no-ri --no-rdoc" >> .gemrc
brew update
brew install rbenv ruby-build
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
rbenv install 2.2.1
rbenv global 2.2.1
rbenv rehash
gem install bundler
rbenv rehash
brew install git
git config --global color.ui true
git config --global user.name "YOUR NAME"
git config --global user.email "[email protected]"
ssh-keygen -t rsa -C "[email protected]"
Establish ssh connection:
https://help.github.com/articles/generating-ssh-keys
brew install postgres
# To have launchd start postgresql at login:
ln -sfv /usr/local/opt/postgresql/*plist ~/Library/LaunchAgents
# Then to load postgresql now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
brew install imagemagick
brew install git-flow
curl get.pow.cx | sh
gem install powder