指南针手表 - 只写一次

时间:2015-03-20 15:28:15

标签: ruby macos sass compass

我现在一直在运行指南针和sass,但是今天下午更新了我的系统:

mac osX 10.10.2(14C1514)

Ruby版本:ruby 2.0.0p481(2014-05-08修订版45883)[universal.x86_64-darwin14]

Sass版本:Sass 3.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系统即时通讯结束时我的帮助请帮助我。如果我错过了人们可能知道帮助解决的任何事情,我很乐意分享。

非常感谢。

1 个答案:

答案 0 :(得分:1)

好的,所以我发现赛璐珞导致数据泄漏或沿着这些线路发生了什么。

我尝试了一些事情来解决这个问题:

sudo gem update `gem list | cut -d ' ' -f 1`

更新所有宝石不起作用,但这可能适用于某些人。我最终跑了:

sudo gem uninstall --all

要删除所有可能导致问题的宝石,我会重新安装指南针宝石和sass宝石。 2小时的路由,这是修复。希望这有助于未来的人们。

相关问题