Grunt task grunt-contrib-compass not working on windows

I started working on an existing project that used “grunt-contrib-compass”.

Grunt kept throwing the error, Warning: not found: compass

Running “concurrent:server” (concurrent) task
Warning: Running “compass:server” (compass) task
Warning: not found: compass Use –force to continue.

After going in circles with installing npm packages, uninstalling npm packages, I realised the problem was this library is dependent on Ruby.

The solution

Install ruby:

http://rubyinstaller.org/

Install gems

Using ruby you need to install gems

gem install sass
gem install compass

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.