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

Viewed 9815

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.

3 Answers

I used to have the same problem installing the Sass.
After installing Xcode with

xcode-select --install  

I agree the license with

sudo xcodebuild -license  

and finally run the app Xcode and finished installing.
After that I write sudo gem install sass and it works.

Related