Sass --watch breaks after Yosemite update

After upgrading to Yosemite on my Macbook Pro sass --watch no longer functions. I get the following:

>>> Sass is watching for changes. Press Ctrl-C to stop. Ignoring bigdecimal-1.2.5 because its extensions are not built. Try: gem pristine bigdecimal-1.2.5 Ignoring ffi-1.9.5 because its extensions are not built. Try: gem pristine ffi-1.9.5 Ignoring ffi-1.9.3 because its extensions are not built. Try: gem pristine ffi-1.9.3 Ignoring json-1.8.1 because its extensions are not built. Try: gem pristine json-1.8.1 Ignoring libxml-ruby-2.7.0 because its extensions are not built. Try: gem pristine libxml-ruby-2.7.0 Ignoring nokogiri-1.6.3.1 because its extensions are not built. Try: gem pristine nokogiri-1.6.3.1 Ignoring psych-2.0.6 because its extensions are not built. Try: gem pristine psych-2.0.6 

an โ€œuntouched gemโ€ does nothing. I tried on Sass 3.4.5 and 3.4.6. Not sure how to do this.

+6
source share
2 answers

Iv'e faced the same problem, this next command helped me, try typing "gem pristine - all", I donโ€™t know what she does, but she fixed it.

+8
source

I am not sure if this qualifies as an โ€œanswerโ€ per se due to the scorched earthly nature of the solution. I noticed that it works great on my home MBP, which had significantly less gems installed. I really did not have time to check my work machine, which they could intervene on, so I removed all the gems using the instructions here . I had to reinstall the Xcode CLI after that and gem install listen , because I probably lost this from the previous instructions (each time I warned "sass watch is listen for changes") and now it compiles.

I understand that this may not be a practical answer for others who can widely use their gems (I do not, I probably just have a lot from a few lessons), but it worked for me. I'm not the most experienced CL user, and I know that I should probably use RVM or something like that, but it did the trick anyway.

0
source

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


All Articles