简体   繁体   English

歌利亚安装失败

[英]goliath installation failure

I have installed goliath gem but now any console rails command fails and returns : 我已经安装了goliath gem,但是现在任何控制台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>'

How can we explain that and how to debug ? 我们该如何解释以及如何调试?

Ok, I got the answer. 好,我知道了。 I had to precise where to find the Rack module in my gemfile 我必须精确确定在gemfile中的哪里可以找到Rack模块

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM