关于此错误的任何想法 - sass compilejust失败 - 尝试过gem update --system和gem update并删除并重新安装sass gem
sudo sass --update --trace styles.scss overwrite styles.css
Password:
/Library/Ruby/Gems/1.8/gems/sass-3.2.11/bin/../lib/sass/../sass/plugin/staleness_checker.rb:27: uninitialized constant Sass::Plugin::StalenessChecker::Mutex (NameError)
from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:53:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:53:in `require'
from /Library/Ruby/Gems/1.8/gems/sass-3.2.11/bin/../lib/sass/../sass/plugin/compiler.rb:7
from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:53:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:53:in `require'
from /Library/Ruby/Gems/1.8/gems/sass-3.2.11/bin/../lib/sass/../sass/plugin.rb:4
from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:53:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:53:in `require'
from /Library/Ruby/Gems/1.8/gems/sass-3.2.11/bin/../lib/sass/../sass/exec.rb:381:in `watch_or_update'
from /Library/Ruby/Gems/1.8/gems/sass-3.2.11/bin/../lib/sass/../sass/exec.rb:326:in `process_result'
from /Library/Ruby/Gems/1.8/gems/sass-3.2.11/bin/../lib/sass/../sass/exec.rb:41:in `parse'
from /Library/Ruby/Gems/1.8/gems/sass-3.2.11/bin/../lib/sass/../sass/exec.rb:21:in `parse!'
from /Library/Ruby/Gems/1.8/gems/sass-3.2.11/bin/sass:9
from /usr/bin/sass:23:in `load'
from /usr/bin/sass:23
答案 0 :(得分:37)
同样的问题今天开始出现在我面前。我想sass-3.2.11或某些我不知道的配置有问题。
暂时解决这个问题我卸载了新版本并安装了旧版本,如下所示:
卸载sass
gem uninstall sass
安装版本3.2.10
gem install sass --version 3.2.10
重新安装指南针
gem install compass
答案 1 :(得分:1)
答案 2 :(得分:0)
我之前用默认的OSX版本更新了:
gem update --system
这就产生了问题 - 在开箱即用的OSX版本上做的不是一个好主意。