手动从FSSM过渡到Sass的Listen gems?

时间:2012-09-18 12:24:39

标签: rubygems sass compass-sass

嗨:我正在http://thesassway.com/beginner/getting-started-with-sass-and-compass尝试在Sass上做初学者的教程。当我在命令行中编写'compass watch sass-test'时,我收到了来自FSSM开发人员的消息:     “亲爱的开发人员在您的项目中使用FSSM,FSSM在这一点上基本上已经死了。在共享警卫/监听项目中将进行进一步的开发。如果您需要帮助过渡,请告诉我们” - Travis Tilley

我发现一个文件有FSSM,在“命令”文件下是'watch_project.rb',并试图更改fssm或FSSM的所有实例来监听甚至LISTEN,并收到许多错误消息 - < / p>

`C:\RailsInstaller>compass watch sass-test --trace
NameError on line ["81"] of C: undefined local variable or method `listen' for #
<Compass::Commands::WatchProject:0x29ee858>
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compas
s/commands/base.rb:18:in `execute'
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compas
s/commands/project_base.rb:19:in `execute'
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compas
s/exec/sub_command_ui.rb:43:in `perform!'
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compas
s/exec/sub_command_ui.rb:15:in `run!'
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/compass-0.12.2/bin/compas
s:30:in `block in <top (required)>'

依旧......

有关如何过渡到“倾听”并摆脱FSSM的任何想法?我确实看到了Sass的更改日志,问题在3.1.16中的FSSM的弃用状态下,并且他们正在从FSSM转换到Listen,但它没有告诉你如何做到这一点。有什么想法吗?

谢谢!

Vegasvikk

1 个答案:

答案 0 :(得分:0)

此消息针对sass开发人员。你不需要做任何事情。