1

我正在尝试分析运行 ruby​​ 1.8.7 和 1.9.2 的 rails 应用程序。我已按照此处指定的说明进行操作, 但出现了一些奇怪的错误,上面写着“未定义的方法 reverse_merge!”。我不明白为什么它会显示这些错误。如果我在开发模式或生产模式下运行我的应用程序,它工作正常,如果我尝试在配置文件模式下运行相同,我会收到此错误。

`call': undefined method `reverse_merge!' for #<Proc:0x7fab9b26e500> (NoMethodError)
    from /home/jeevan/.rvm/gems/ruby-1.8.7-p371/gems/railties-3.0.7/lib/rails/application.rb:77:in `send'
    from /home/jeevan/.rvm/gems/ruby-1.8.7-p371/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'
    from /home/jeevan/.rvm/gems/ruby-1.8.7-p371/gems/rack-1.2.2/lib/rack/builder.rb:73:in `to_app'
    from /home/jeevan/.rvm/gems/ruby-1.8.7-p371/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `inject'
    from /home/jeevan/.rvm/gems/ruby-1.8.7-p371/gems/rack-1.2.2/lib/rack/builder.rb:73:in `each'
    from /home/jeevan/.rvm/gems/ruby-1.8.7-p371/gems/rack-1.2.2/lib/rack/builder.rb:73:in `inject'
    from /home/jeevan/.rvm/gems/ruby-1.8.7-p371/gems/rack-1.2.2/lib/rack/builder.rb:73:in `to_app'
4

0 回答 0