Skip to content

Instantly share code, notes, and snippets.

@keyvec
Last active December 27, 2015 04:29
Show Gist options
  • Save keyvec/7267670 to your computer and use it in GitHub Desktop.
Save keyvec/7267670 to your computer and use it in GitHub Desktop.
Mac dev
sudo chown -R `whoami` /usr/local
ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go)
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
sudo easy_install virtualenv
brew install python python3
virtualenv py27 --python=python2.7
virtualenv py33 --python=python3.3
sudo easy_install pythonbrew
# add to .bashrc or .zshrc
[[ -s "$HOME/.pythonbrew/etc/bashrc" ]] && source "$HOME/.pythonbrew/etc/bashrc"
curl -L https://get.rvm.io | bash -s stable --ruby
gem sources --remove http://rubygems.org/
gem sources -a http://ruby.taobao.org/
gem sources -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment