2013-06-19 18 views
10

我在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

我知道這已經有一段時間了,但我們已經解決了阻止ruby-prof以前在開發者模式下工作的問題,所以您現在應該能夠使用最新版本的代理(3.7。 3及以後)。我還會更新已知問題頁面。

+0

非常感謝。我將此切換到已批准的答案,因爲3.5.8.72(我相信)在服務器上使用newrelic有點過時 –

8

跌回3.5.8.72版本,一切又恢復了剛纔與gem "newrelic_rpm", "3.5.8.72"更新您的Gemfile我登錄的問題W'。 ith他們在上面。

+0

太棒了,謝謝。沒有意識到這是一個倒退。你能分享問題的網址(爲我和其他人)。 –

+0

它在zendesk後面,所以不知道它是否是私人機票:https://support.newrelic.com/requests/45254 - 不幸的是,這個消息並不是很好:「不幸的是,這是一個版本爲3.6.x的已知問題,我們不可能很快推出修補程序。「 – jonathannen

+0

謝謝。這是一張私人票。他們表示,他們將使用此更新已知問題頁面,直到它被修復。 –