Last active
December 19, 2015 12:38
-
-
Save tallsam/5955750 to your computer and use it in GitHub Desktop.
Setting up Guard for SASS preprocessing when using Laravel. Ubuntu 12.10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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