巨人安装失败

时间:2014-03-05 21:35:56

标签: ruby-on-rails ruby gem goliath

我安装了goliath gem,但现在任何console rails命令都失败并返回:

rake aborted!
uninitialized constant Rack::Chunked
/home/Sites/myapp/config/application.rb:7:in `<top (required)>'
/home/Sites/myapp/Rakefile:4:in `<top (required)>'
/home/.rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in `eval'
/home/.rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in `<main>'

我们如何解释这个以及如何调试?

1 个答案:

答案 0 :(得分:0)

好的,我得到了答案。我必须在我的gemfile中找到Rack模块的精确位置

gem 'goliath', :require => "goliath/rack"