Skip to content

Instantly share code, notes, and snippets.

@maxsilver
Created June 6, 2014 14:46
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 maxsilver/4add88a2fe063590b9f8 to your computer and use it in GitHub Desktop.
Save maxsilver/4add88a2fe063590b9f8 to your computer and use it in GitHub Desktop.
Fix Homebrew on OSX 10.10 Yosemite
mostly pulled from http://www.alexfilatov.com/2014/06/03/osx-10-10-yosemite-fix-homebrew/ with changes
$ nano /usr/local/Library/brew.rb
replace first line with
#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0
find your homebrew repository, and commit it
$ brew --repository
$ cd /usr/local && git commit -am 'new ruby version 2.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment