在我的Macbook Pro上更新到Yosemite后,sass –watch不再起作用.我得到以下内容:
>>> 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
“宝石原始”没有做任何事情.我尝试过Sass 3.4.5和3.4.6.不确定如何解决.
解决方法
我遇到了同样的问题,这个下一个命令帮助了我,尝试输入’gem pristine –all’,不知道它做了什么,但它修复了一切.