Last active
August 7, 2016 05:46
-
-
Save toranb/5023677 to your computer and use it in GitHub Desktop.
How to setup OSX Mountain Lion for ruby/python/node development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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