无法加载此类文件 - systemu错误

时间:2014-02-19 07:12:00

标签: ruby-on-rails gem

我已将sidekiq gem更新到最新版本。现在,当我尝试运行服务器时,我收到以下错误:

cannot load such file -- systemu
/home/kiprosh22/.rvm/gems/ruby-1.9.3-p194@liquor/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/home/kiprosh22/.rvm/gems/ruby-1.9.3-p194@liquor/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
/home/kiprosh22/.rvm/gems/ruby-1.9.3-p194@liquor/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
/home/kiprosh22/.rvm/gems/ruby-1.9.3-p194@liquor/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/home/kiprosh22/.rvm/gems/ruby-1.9.3-p194@liquor/gems/macaddr-1.6.2/lib/macaddr.rb:23:in `<top (required)>'
......

我无法找到原因。

2 个答案:

答案 0 :(得分:3)

看起来systemu gem的最新版本有dependency issue(请参阅最后评论),这是由latest commit引起的(请参阅其他人添加的评论)。< / p>

答案 1 :(得分:2)

我在运行bundle update后今天早上遇到了这个问题。

添加

gem macaddr, '1.6.1'

Gemfile 并且正在运行bundle update macaddr清除它。