指南针手表 - 只写一次
Compass watch - only writes once
我已经 运行 指南针和 sass 有一段时间了,但是今天下午更新了我的系统:
mac osX 10.10.2 (14C1514)
Ruby版本:ruby2.0.0p481(2014-05-08修订版45883)[通用.x86_64-darwin14]
Sass版本:Sass3.4.13(选择性史蒂夫)
指南针版本:1.0.3
突然指南针停止工作,它会观察文件,但会进行第一次写入,但之后就看不到任何变化了。
上网查了一下发现:
compass watch --p
可能对我有帮助,它似乎可以工作并且 运行 很好 'ish' 但是构建时间真的很慢。
Andys-mac:scss andy$ compass watch --p
>>> Compass is watching for changes. Press Ctrl-C to Stop.
modified layout/_header.scss
write /Users/andy/Sites/projectname/httpdocs/library/css/style.css
当我从这里中断时,它会抛出如下错误:
E, [2015-03-20T15:13:26.627204 #1102] ERROR -- : Actor crashed!
Celluloid::DeadActorError: attempted to call a dead actor
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync_proxy.rb:23:in `method_missing'
/Library/Ruby/Gems/2.0.0/gems/listen-2.9.0/lib/listen/file.rb:9:in `change'
/Library/Ruby/Gems/2.0.0/gems/listen-2.9.0/lib/listen/change.rb:40:in `change'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
E, [2015-03-20T15:13:26.628055 #1102] ERROR -- : Actor crashed!
Celluloid::DeadActorError: attempted to call a dead actor
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync_proxy.rb:23:in `method_missing'
/Library/Ruby/Gems/2.0.0/gems/listen-2.9.0/lib/listen/file.rb:9:in `change'
/Library/Ruby/Gems/2.0.0/gems/listen-2.9.0/lib/listen/change.rb:40:in `change'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
我迷路了,我试过卸载指南针 - sass,更新 ruby 系统 im,请帮助我。如果我遗漏了任何人们可能知道的可以帮助修复它的信息,我会很乐意分享。
非常感谢。
好的,所以我发现 celluloid 导致了数据泄漏或类似的问题。
我尝试了一些方法来对此进行排序:
sudo gem update `gem list | cut -d ' ' -f 1`
更新所有 gem 无效,但这可能对某些人有用。我结束了 运行:
sudo gem uninstall --all
为了删除所有可能导致问题的 gem,我重新安装了指南针 gem 和 sass gem。 2 小时的路由,这就是修复。希望这对未来的人有所帮助。
我最终卸载了所有版本的赛璐珞
sudo gem uninstall celluloid
然后我重装了赛璐珞
sudo gem install celluloid
它又开始工作了。
我已经 运行 指南针和 sass 有一段时间了,但是今天下午更新了我的系统:
mac osX 10.10.2 (14C1514)
Ruby版本:ruby2.0.0p481(2014-05-08修订版45883)[通用.x86_64-darwin14]
Sass版本:Sass3.4.13(选择性史蒂夫)
指南针版本:1.0.3
突然指南针停止工作,它会观察文件,但会进行第一次写入,但之后就看不到任何变化了。
上网查了一下发现:
compass watch --p
可能对我有帮助,它似乎可以工作并且 运行 很好 'ish' 但是构建时间真的很慢。
Andys-mac:scss andy$ compass watch --p
>>> Compass is watching for changes. Press Ctrl-C to Stop.
modified layout/_header.scss
write /Users/andy/Sites/projectname/httpdocs/library/css/style.css
当我从这里中断时,它会抛出如下错误:
E, [2015-03-20T15:13:26.627204 #1102] ERROR -- : Actor crashed!
Celluloid::DeadActorError: attempted to call a dead actor
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync_proxy.rb:23:in `method_missing'
/Library/Ruby/Gems/2.0.0/gems/listen-2.9.0/lib/listen/file.rb:9:in `change'
/Library/Ruby/Gems/2.0.0/gems/listen-2.9.0/lib/listen/change.rb:40:in `change'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
E, [2015-03-20T15:13:26.628055 #1102] ERROR -- : Actor crashed!
Celluloid::DeadActorError: attempted to call a dead actor
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/proxies/sync_proxy.rb:23:in `method_missing'
/Library/Ruby/Gems/2.0.0/gems/listen-2.9.0/lib/listen/file.rb:9:in `change'
/Library/Ruby/Gems/2.0.0/gems/listen-2.9.0/lib/listen/change.rb:40:in `change'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:63:in `dispatch'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/Library/Ruby/Gems/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
我迷路了,我试过卸载指南针 - sass,更新 ruby 系统 im,请帮助我。如果我遗漏了任何人们可能知道的可以帮助修复它的信息,我会很乐意分享。
非常感谢。
好的,所以我发现 celluloid 导致了数据泄漏或类似的问题。
我尝试了一些方法来对此进行排序:
sudo gem update `gem list | cut -d ' ' -f 1`
更新所有 gem 无效,但这可能对某些人有用。我结束了 运行:
sudo gem uninstall --all
为了删除所有可能导致问题的 gem,我重新安装了指南针 gem 和 sass gem。 2 小时的路由,这就是修复。希望这对未来的人有所帮助。
我最终卸载了所有版本的赛璐珞
sudo gem uninstall celluloid
然后我重装了赛璐珞
sudo gem install celluloid
它又开始工作了。