Jul 20, 2016

Install compass in Mac Os El Capitan

So,
$ sudo gem install compass is not working?

Do you have ruby installed?
If not install it using brew:

$ sudo brew install ruby 

First try updating your gem version:

$ sudo gem update --system

Then try again installing compass:

$ sudo gem install compass

Oh... now you get a:

Fetching: compass-1.0.3.gem (100%)
ERROR:  While executing gem ... (Errno::EPERM)
    Operation not permitted - /usr/bin/compass

Run the following:

$ sudo gem install -n /usr/local/bin compass

Done.

No comments: