12

当我运行“指南针手表”时,我收到了这个错误:

LoadError on line ["54"] of /usr/local/lib/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- susy
Run with --trace to see the full backtrace

我设法修复它:

sudo gem update
sudo gem install susy

当我再次运行 compass 时,生成了 css 文件,并且出现了一个新错误:

>>> Compass is watching for changes. Press Ctrl-C to Stop.
    write css/ie10_and_higher.css
    write css/ie9.css
    write css/style.css
D, [2015-07-31T10:36:12.805795 #5675] DEBUG -- : Celluloid 0.17.0 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
ArgumentError on line ["48"] of /var/lib/gems/2.1.0/gems/celluloid-0.17.0/lib/celluloid/calls.rb: wrong number of arguments (2 for 1)
Run with --trace to see the full backtrace

现在我在谷歌找不到任何解决方案。

4

2 回答 2

3

我也遇到了这个问题。我已经更新了所有东西——ruby、gem --system、所有的 gems、指南针等,但它仍然不断地抛出错误。我必须做的是反复使用“gem uninstall listen”来删除已安装的多个 2.7.x 版本 - 一旦它们全部被删除并且只存在 listen 3.x 它将再次正常工作。

于 2016-06-25T11:13:06.923 回答
2

This looks like it's an issue with the celluloid gem. Take a look at the Github Issue.

I sifted through the compass source, and it does not appear that celluloid is referenced anywhere - I am doubtful that compass is related. If you're not using it anywhere in your project, one of your other gems must be doing so. You'll need to run a full trace to figure out which one it is.

于 2015-08-14T23:16:10.313 回答