Fixing Brew in Yosemite
EDIT: Homebrew has fixed this: You should be able to just pull in the lates version of homebrew and be good to go. :)
OSX Yosemite breaks things. If you install the beta right now, you might notice that when you try to use homebrew, you'll get an error, much like this:
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory /usr/local/bin/brew: line 23: /usr/local/Library/brew.rb: Undefined error: 0
You can easily fix this by editing the ruby path in brew.rb file.
/usr/local/Library/brew.rb, and change the version from
Save the file, and walla! You should be gold. :)