Knowledge for the World

Installing SASS on OS X El Capitan

There's a bug in El Capitan when trying to install SASS. A quick workaround exists, however.

In these interests [?]
  • sass
    0 Subscribers Subscribe
  • webdev
    124 Subscribers Subscribe
  • elcapitan
    0 Subscribers Subscribe

Using the workaround

Normally, we'd install using the following command:

sudo gem install sass

This returns the following error in OS X El Capitan:

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

Instead, use the following as suggested by @endplasmic on Github:

sudo gem install -n /usr/local/bin sass