Install xcode 6.0beta from DMG
Install 10.10 command line tools from DMG
Both available at developer.apple.com
Brew installs fine from source via brew.sh
Compilains it can't find a compiler, not sure what fixed this but i did both
Add the following to .bash_profile
export CC=/usr/bin/gcc
export LD=/usr/bin/gcc
export CXX=/usr/bin/g++
export HOMEBREW_CC=/usr/bin/gcc
export HOMEBREW_CXX=/usr/bin/g++
Now create a symlink between
/System/Library/Frameworks/Ruby.framework/Versions/1.8 -> /System/Library/Frameworks/Ruby.framework/Versions/2.0
Brew expects Ruby at 1.8 but 10.10 moves removes 1.8 and adds 2.0 as the only ruby, also a symlink is created for current which may be a good idea for the brew team to use.
After installing zsh from Homebrew and Oh-my-zsh chsh wouldn't let me change my shell until i added /usr/local/bin/zsh
to /etc/shells