运行罗盘钟表时参数数量错误

Dru*_*oob 12 ruby ruby-on-rails celluloid compass-sass compass

当我运行"罗盘手表"时,我收到此错误:

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
Run Code Online (Sandbox Code Playgroud)

我设法修复它:

sudo gem update
sudo gem install susy
Run Code Online (Sandbox Code Playgroud)

当我再次运行罗盘时,生成了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
Run Code Online (Sandbox Code Playgroud)

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

Scu*_*per 2

这看起来像是赛璐珞宝石的问题。查看Github 问题

我筛选了指南针源,似乎没有在任何地方引用赛璐珞 - 我怀疑指南针是否相关。如果您没有在项目中的任何地方使用它,那么您的其他宝石之一一定会这样做。您需要运行完整的跟踪才能确定它是哪一个。

  • compass 使用 sass,它使用 Listen gem,它使用赛璐珞 (4认同)