June 29, 2015 — kyle.huynh205
Install Drush in Mac
- InstallĀ Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install PHP56
brew install composer
brew install --HEAD drush
brew switch drush HEAD
cd /usr/local/Cellar/drush/HEAD/libexec
composer install
ls -l /var/mysql
rm -rf /var/mysql/mysql.sock (make sure directory /var/mysql exists)
sudo ln -s /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock /var/mysql/mysql.sock