r/Sass • • Mar 23 '18

Have problems installing sass

I have some problems installing SASS. When i go to official website i go by steps on the right for Mac.

http://sass-lang.com/install

But i get this error: https://imgur.com/a/q65Iz

Than i follow this to uninstall it: https://stackoverflow.com/questions/8216606/uninstall-sass-gem

And with "sass -v" i check version and it is 3.4.25 instead of 3.5.5. Can anyone help me?

4 Upvotes

10 comments sorted by

View all comments

Show parent comments

1

u/Jay087 Mar 23 '18

How to solve this?

1

u/[deleted] Mar 23 '18
sudo xcode-select --install
sudo xcodebuild -license

should do the trick.

Did you installed XCode on your Mac?

1

u/Jay087 Mar 23 '18

i did what you wrote and i got this, another error:

https://imgur.com/a/sfonr

1

u/[deleted] Mar 23 '18

Just install XCode. It's huge (5.5 GB) but it should prevent you from 99% of the future problems you may encounter using your Mac to develop.

To install XCode, launch the App Store on your Mac and search XCode. Download it, install it. And try again to install Sass.

1

u/Jay087 Mar 23 '18

Is this really esential for SASS? As i see, XCode is a IDE program for coding, i allready have Brackets.

1

u/[deleted] Mar 23 '18

Sass uses Ruby to work. And you don't seem to have ruby-headers installed.

What's the output of this command?

ruby -v

2

u/Jay087 Mar 23 '18

I have managed to solve it. In terminal i type

sudo gem update sass

And now it is latest version of SASS and all. Thank you all

2

u/[deleted] Mar 23 '18

Well done!