After installing OS X El Capitan (10.11) my ruby compass is no longer working. After trying to install compass I recieve error message like this:
$ sudo gem install compass
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/compass
How this can be fixed?
I had the same problem after upgrading to OS X El Capitan (10.11), but while trying to sudo gem install sass
. The poster's solution of putting the path in the install command worked for me, and installing compass also installs sass, so: sudo gem install -n /usr/local/bin compass
did the trick. Thanks Leo!