Last active
August 29, 2015 14:02
-
-
Save jasonwbarnett/31fce188cf128ebe531d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
## 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