转载位置:http://stackoverflow.com/questions/39430625/the-default-caskroom-location-has-moved-to-usr-local-caskroom
# FIRST SOLUTION
# reinstall all casks (can be slow)
brew cask install --force $(brew cask list)
# --------------------------------------
# SECOND SOLUTION
# move cask directory to its new location
mv /opt/homebrew-cask/Caskroom /usr/local
# relink existing casks to the new location
for f in ~/Applications/*.app; do oldloc="$(readlink "$f")"; [[ -e $oldloc ]] || ln -sf "/usr/local${oldloc#/opt/homebrew-cask}" "$f"; done