Skip to content

Instantly share code, notes, and snippets.

@jasonwbarnett
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonwbarnett/31fce188cf128ebe531d to your computer and use it in GitHub Desktop.
Save jasonwbarnett/31fce188cf128ebe531d to your computer and use it in GitHub Desktop.
## First we remove all of the old crap:
curl "https://gist.githubusercontent.com/mxcl/1173223/raw/a833ba44e7be8428d877e58640720ff43c59dbad/uninstall_homebrew.sh" > ~/uninstall_homebrew.sh
bash ~/uninstall_homebrew.sh
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
rm -Rf ~/.rvm
## Re-install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
## Install required libs
brew install autoconf automake coreutils libgpg-error libksba libtool libyaml mutt openssl pkg-config readline tokyo-cabinet wget xz
## Install RVM
\curl -sSL https://get.rvm.io | bash -s -- --autolibs=read-fail --auto-dotfiles
## !! reload your shell...
## Update trusted CA certificates for Ruby/RVM.
rvm osx-ssl-certs update all
## Install Ruby v2.1.1
rvm install 2.1-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment