5

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?

czerasz
  • 13,682
  • 9
  • 53
  • 63
Ed Beltran
  • 61
  • 1
  • 3

2 Answers2

4

You have to install, first

sudo apt-get install ruby gem ruby-dev

second

sudo gem install compass
Flavio Troia
  • 2,451
  • 1
  • 25
  • 27
0

Did you find your solution? I had the same error on Ubuntu 14.04.

Compass is a gem but you also need ruby-compass. If you do compass -v, it might say you don't have ruby-compass and need to install it. This was my case so I did sudo apt-get install ruby-compass which solved my problem.

uechan
  • 167
  • 8