Skip to content

Instantly share code, notes, and snippets.

View rafael's full-sized avatar
💭
Vitess

Rafael Chacon rafael

💭
Vitess
View GitHub Profile
@rafael
rafael / install_homebrew.rb
Created July 5, 2011 15:10 — forked from mxcl/install_homebrew.markdown
Installs Homebrew to ./homebrew so you don't need sudo to `brew install`
#!/usr/bin/ruby
#
# This script installs to ./.homebrew only. To install elsewhere you can just
# untar https://github.com/mxcl/homebrew/tarball/master anywhere you like.
#
#
# 30th March 2010:
# Added a check to make sure user is in the staff group. This was a problem
# for me, and I think it was due to me migrating my account over several
# versions of OS X. I cannot verify that for sure, and it was tested on