Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

uninstall sass gem

Tags:

sass

I just upgraded to OSX lion and my sass no longer works. I keep getting this error on the watch command

ents.rb:27: [BUG] Segmentation fault ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]

I read online that if you uninstall the sass gem and reinstall it it will fix the problem. I'm just not sure how to do that. Can anyone please help.

like image 475
Chapsterj Avatar asked Nov 21 '11 18:11

Chapsterj


People also ask

Does Sass use Ruby?

Ruby Sass was the original implementation of Sass, but it reached its end of life as of 26 March 2019. It's no longer supported, and Ruby Sass users should migrate to another implementation.

Is Ruby Sass deprecated?

Ruby Sass itself is deprecated.


2 Answers

Open Terminal, and type:

sudo gem uninstall sass

Then type:

sudo gem install sass

Also if you install compass, it will install sass by default:

sudo gem install compass

To check which version you have installed, type sass -v

If this still doesn't solve your problem then you may want to re-install Ruby / Xcode.

like image 61
JD Smith Avatar answered Nov 27 '22 11:11

JD Smith


Try this to uninstall:

gem uninstall -Iax sass

& then to re-install use:

gem install sass --pre

or

gem install sass
like image 25
Sandeep Avatar answered Nov 27 '22 11:11

Sandeep