logo image

Unable to Install sass gem getting Operation not permitted - /usr/bin/sass

While trying to install sass gem on MacOS getting the following exception

MacBook-Pro:experimental$ sudo gem install sass
ERROR:  While executing gem ... (Errno::EPERM)
    Operation not permitted - /usr/bin/sass

1 Answer

2 years ago by

Run the following command to install sass gem

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

Once installed you can check the following to check whether or not the installation successful

sass -v
2 years ago by Megamind