Skip to content

Instantly share code, notes, and snippets.

@k9ordon
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 k9ordon/815fdf96af1d65b73269 to your computer and use it in GitHub Desktop.
Save k9ordon/815fdf96af1d65b73269 to your computer and use it in GitHub Desktop.
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