我在rails 3.2應用程序中本地使用newrelic_rpm
開發人員模式。這工作正常。Newrelic developermode not ruby-prof
當我安裝ruby-prof
並單擊NewRelic的本地儀表盤「開始分析」,並回到我的應用程序,在我的應用程序的每個頁面給出了「未定義的方法'流行」爲#。
頂部的幾行回溯:
newrelic_rpm (3.6.4.122) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:421:in `ensure in perform_action_with_newrelic_profile'
newrelic_rpm (3.6.4.122) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:421:in `perform_action_with_newrelic_profile'
newrelic_rpm (3.6.4.122) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:305:in `perform_action_with_newrelic_trace'
newrelic_rpm (3.6.4.122) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:37:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
任何想法如何制定出什麼錯誤
非常感謝。我將此切換到已批准的答案,因爲3.5.8.72(我相信)在服務器上使用newrelic有點過時 –