Skip to content

Instantly share code, notes, and snippets.

@tallsam
Last active December 19, 2015 12:38
Show Gist options
  • Save tallsam/5955750 to your computer and use it in GitHub Desktop.
Save tallsam/5955750 to your computer and use it in GitHub Desktop.
Setting up Guard for SASS preprocessing when using Laravel. Ubuntu 12.10
# https://github.com/JeffreyWay/Laravel-Guard
# ruby 1.9.1 is the minimum req for this. Gem will still be verison 1.8.11
sudo apt-get install ruby1.9.1
ruby -v
gem -v
# php unit and PHP_Codecoverage
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover components.ez.no
sudo pear update-channels
sudo pear upgrade-all
sudo pear install --alldeps phpunit/PHPUnit
sudo pear install --force --alldeps phpunit/PHPUnit
sudo pear install phpunit/PHP_CodeCoverage
# Guard needs g++
sudo apt-get install g++
# Run the guard setup. Needs sudo to put the gems in the right place.
sudo php artisan guard:make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment