当我执行该行时
$sass --watch sass/views.scss:views.css
我收到以下消息
Sass 正在观察变化。按 Ctrl-C 停止。NameError: uninitialized constant Listen::MultiListener 使用 --trace 进行回溯。
正如您所说,该过程立即停止并且监视选项不起作用。
这里有什么问题??我已经安装了 Ruby 2.0.0-p0 版本。
任何帮助表示赞赏。
编辑:(--跟踪)
Sass 正在观察变化。按 Ctrl-C 停止。/home/javier/.rvm/gems/ruby-2.0.0-p0/gems/sass-3.2.8/lib/sass/plugin/compiler.rb:266:in method_missing' 来自 /home/javier/.rvm/ gems/ruby-2.0.0-p0/gems/sass-3.2.8/lib/sass/exec.rb:452:in process_result' 来自/home/javier/.rvm/gems/ruby-2.0.0-p0/ gems/sass-3.2.8/lib/sass/exec.rb:41:解析中! 从 /home/javier/.rvm/gems/ruby-2.0.0-p0/gems/sass-3.2.8/bin/sass:9:in load' 从 /home/javier/.rvm/gems/ruby-2.0 .0-p0/bin/sass:23:in `'
watch': uninitialized constant Listen::MultiListener (NameError)
from /home/javier/.rvm/gems/ruby-2.0.0-p0/gems/sass-3.2.8/lib/sass/plugin.rb:107:inwatch_or_update'
from /home/javier/.rvm/gems/ruby-2.0.0-p0/gems/sass-3.2.8/lib/sass/exec.rb:315:inparse'
from /home/javier/.rvm/gems/ruby-2.0.0-p0/gems/sass-3.2.8/lib/sass/exec.rb:21:in<top (required)>'
from /home/javier/.rvm/gems/ruby-2.0.0-p0/bin/sass:23:in