Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Homebrew on OSX 10.10 Yosemite

#Fix your homebrew installation

open

/usr/local/Library/brew.rb

replace

#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0

with

#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0

run

brew --config 
brew cleanup

#Reinstall

run
rm -rf /usr/local/Cellar
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.