Search code examples
rubymacossasscompass-sasscompass

Compass not working after el capitan install


When i use compass watch it doesn't see any changes on el capitan. On mavericks it works and detects everything.

Does someone know what is a fix?


Solution

  • I had the same issue. It is due to Apple implementing System Integrity Protection (SIP). You have to first disable that...

    Reboot in recovery mode:

    Reboot and hold Command + R until you see the apple logo.

    Once booted select Utilities > Terminal from top bar.

    type: csrutil disable

    then type: reboot

    Once rebooted

    Open terminal back up and enter the commands:

    sudo gem uninstall bundler

    sudo gem install bundler

    sudo gem install compass

    sudo gem install sass

    sudo gem update --system

    The the individual gems that failed need to be fixed, so for each do the following:

    On my machine this was the first dependency not working so I listed it:

    sudo gem pristine ffi --version 1.9.3

    Proceed through the list of gems that need to be repaired. In all you are looking at about 10 minutes to fix it, but you will have terminal commands for compass working.

    Screenshot