yeoman/yeoman — pull request #449 by AvnerCohen (2012-09-14 21:14:07+00:00)
Title: Compass error reporting needs minor change

In the case of error in the compass compilation, following error is showing up:
> You need to have Compass installed.

This happens because of a test on the string "not found".
Not found text is also showing up on a warning that seems to exist on the main branch:

WARNING: 'glyphicons-halflings.png' was *** not found *** (or cannot be read) in /Users/avnerner/dev/repos/test/app/images
WARNING: 'glyphicons-halflings-white.png' was *** not found *** (or cannot be read) in /Users/avnerner/dev/repos/test/app/images

And in any case, might not be language agnostic.

I therefore suggest to check this based on the specific error code returned when compass command does not exist.

This was tested and have worked fine on Mac OSx.