Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I install Sass on Mac OS Sierra?

I have tried installing Sass three times on Mac OS Sierra(10.12) from the terminal typing the following code:

sudo gem install sass

Then it asks for my password, I enter it and nothing happens (I even waited half an hour) it does not even gives any error or any other message, then when I try to close the terminal window a message appears saying that the processing will terminate if I close the window.

I already checked on if ruby is installed on my Mac and this is the version I have:

ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

What should I do?

NOTE: I'm a newbie and don't know about programming at all and this is the first time I use the terminal.

like image 804
Luisiana Avatar asked Nov 29 '22 13:11

Luisiana


1 Answers

I had the exact same issue but found a solution for a similar thread on Compass.

You might need to install the developer tools first by entering the following on the command line:

xcode-select --install

Then try

sudo gem install sass

It worked for me and I am now running Sass 3.5.1 (Bleeding Edge)

like image 88
MrDjango Avatar answered Dec 14 '22 20:12

MrDjango