Skip to content

Instantly share code, notes, and snippets.

@andreif
Created November 5, 2011 14:48
Show Gist options
  • Save andreif/1341606 to your computer and use it in GitHub Desktop.
Save andreif/1341606 to your computer and use it in GitHub Desktop.
Installing prerequisites (Mac OS X)

1. Installing prerequisites (Mac OS X)

curl -kL https://raw.github.com/utahta/pythonbrew/master/pythonbrew-install | bash
alias pyb='pythonbrew'

1.2. Python, pip, and setuptools

pyb install --no-test 2.7.2
pyb use 2.7.2

1.3. Setup a virtual environment

deactivate
rm -r ~/.pythonbrew/venvs/Python-2.7.2/heroku
pyb venv create heroku --no-site-packages
pyb venv use heroku

1.4. RVM

bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
rvm get latest

1.5. Ruby and TextMate settings

rvm install 1.9.2-p290
rvm --default use 1.9.2-p290
rvm @textmate --create
rvm wrapper default@textmate textmate

In TextMate preferences

TM_RUBY=/Users/andrei/.rvm/bin/textmate_ruby
ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

1.7. Node.js

brew install node

1.8. npm

curl http://npmjs.org/install.sh | clean=yes sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment