xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
export PACKAGES='automake docker-machine flac fontconfig freetype gd gdbm git graphviz heroku heroku-node icu4c imagemagick jpeg lame libogg libpng libtiff libtool libvorbis libyaml mad node openssl pkg-config python python@2 rbenv readline redis ruby-build sox sqlite webp xz yarn'
for PACKAGE in $PACKAGES ; do brew install $PACKAGE ; done
brew tap caskroom/cask
brew cask install java