Skip to content

Instantly share code, notes, and snippets.

@davidhellsing
Last active August 29, 2015 14:07
Show Gist options
  • Save davidhellsing/f2c4842e3fea551a32ce to your computer and use it in GitHub Desktop.
Save davidhellsing/f2c4842e3fea551a32ce to your computer and use it in GitHub Desktop.
Fix Brew for OSX Yosemite
vi /usr/local/Library/brew.rb

Change line 1 from:

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

to:

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

Save and exit

cd $(brew –repository) && git commit -a -m 'new ruby version 2.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment