Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I update/fix the SASS and Compass $PATH to work with grunt-contrib-compass

I am trying to run grunt-contrib-compass, but running into this error:

Warning: Couldn't find the `compass` binary. Make sure it's installed and in your $PATH Use --force to continue.

I've run:

  • sudo gem install compass
  • sudo gem install sass
  • sudo gem update --system

When I do gem list, I get:

compass (1.0.1) 
rails (4.1.6)
sass (3.4.5, 3.3.4)

ruby:

ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]

Any suggestions or solutions on how to get grunt-contrib-compass working?

like image 459
Ed Beltran Avatar asked Sep 29 '22 17:09

Ed Beltran


1 Answers

You have to install, first

sudo apt-get install ruby gem ruby-dev

second

sudo gem install compass
like image 151
Flavio Troia Avatar answered Oct 02 '22 07:10

Flavio Troia