Warning: spawn ENOENT Use with Grunt sass task

Bennett picture Bennett · Aug 1, 2014 · Viewed 11.5k times · Source

I recently downloaded OSX Yosemite and now grunt-contrib-sass is not working and I am getting the error:

Running "sass:dist" (sass) task
Warning: spawn ENOENT Use --force to continue.

Aborted due to warnings.

I'm not a grunt expert, do I need to reinstall any plugins or something else? I'm happy to provide any other information if needed. Thanks.

Answer

jamie-wilson picture jamie-wilson · Sep 17, 2014

Adding it as an answer here from comments above for posterity.

That error usually means Sass isn't installed. Run gem install sass to install it.

For me, it kept failing to install, so ran gem install sass --debug --backtrace --verbose and that fixed the no implicit conversion of nil into String (TypeError) install error.