Skip to content

Instantly share code, notes, and snippets.

@toranb
Last active August 7, 2016 05:46
Show Gist options
  • Save toranb/5023677 to your computer and use it in GitHub Desktop.
Save toranb/5023677 to your computer and use it in GitHub Desktop.
How to setup OSX Mountain Lion for ruby/python/node development
# install the latest xcode or nothing works
Install XCode
Install XCode cmd line tools
open Xcode and agree to terms of use
# install homebrew and install libksba (helpful for ruby 1.9.3 or so I'm told)
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew doctor
brew update
brew install libksba
# install rvm -fix gcc and install ruby 1.9.3
curl -L https://get.rvm.io | bash -s stable
sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
rvm install 1.9.3-p392
# install the basics
brew install node
brew install phantomjs
brew install ack
brew install ctags
# install some much needed gems
gem install bundler rails pg foreman thin --no-rdoc --no-ri
# for the python devs -get pip and virtualenvwrapper up and running
sudo easy_install pip
sudo pip install virtualenvwrapper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment