我已经安装了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>'
我们如何解释以及如何调试?
好的,我得到了答案。我必须精确地在 gemfile 中找到 Rack
模块
gem 'goliath', :require => "goliath/rack"