I
I
Ilya Beloborodov2016-03-07 02:18:35
Command line
Ilya Beloborodov, 2016-03-07 02:18:35

Can't install SASS on MAC OS, why Operation not permitted?

Installed Ruby.
I install SASS:
sudo gem install sass
And I see this:

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

I try without sudo
gem install sass
and see this:
Fetching: sass-3.4.21.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

When installing compass, everything is the same

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Fedorov, 2017-04-15
@dedmoroz007

Try running with the following line:
sudo gem install -n /usr/local/bin sass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question