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

I tried installing Sass three times on Mac OS Sierra (10.12) from the terminal by 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 doesn’t even give any error or any other message, and then when I try to close the terminal window, a message appears saying that processing will end if I close the window.

I already checked 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 am new and don't know about programming at all, and this is the first time I use a terminal.

+2
source share
3 answers

, Compass.

, :

xcode-select --install

sudo gem install sass

, Sass 3.5.1 (Bleeding Edge)

+10

,

.

$ brew install ruby

, ,

$ sudo gem install sass

$ sass -v
Sass 3.5.1 (Bleeding Edge)

, .

+6

Sass.
Xcode

xcode-select --install  

sudo xcodebuild -license  

, , Xcode .
sudo gem install sass, .

+2

Source: https://habr.com/ru/post/1686558/


All Articles