Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/54.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Newrelic developermode不与ruby prof合作_Ruby On Rails_Newrelic_Ruby Prof - Fatal编程技术网

Ruby on rails Newrelic developermode不与ruby prof合作

Ruby on rails Newrelic developermode不与ruby prof合作,ruby-on-rails,newrelic,ruby-prof,Ruby On Rails,Newrelic,Ruby Prof,我正在rails 3.2应用程序中本地使用newrelic\u rpmdeveloper模式。这很好用 当我安装ruby prof并在newrelic本地仪表板中单击“开始评测”并返回到我的应用程序时,我的应用程序中的每个页面都会为#提供“未定义的方法'pop' 回溯的前几行: newrelic_rpm (3.6.4.122) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:421:in `ensure in p

我正在rails 3.2应用程序中本地使用
newrelic\u rpm
developer模式。这很好用

当我安装
ruby prof
并在newrelic本地仪表板中单击“开始评测”并返回到我的应用程序时,我的应用程序中的每个页面都会为#提供“未定义的方法'pop'

回溯的前几行:

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
,它又起作用了。只需用
gem“newrelic\u rpm”,“3.5.8.72”更新您的Gemfile即可“
。我已经在上面记录了一个问题。

我知道这已经有一段时间了,但是我们已经修复了以前阻止ruby prof在开发人员模式下工作的问题,因此您现在应该能够在最新版本的代理(3.7.3及更高版本)中再次使用它。我会更新“已知问题”页面。

太棒了,谢谢。没有意识到这是一种倒退。你能分享这个问题的url吗(对我和其他人来说)。它在zendesk后面,所以不确定它是否是一张私人票:-不幸的是,这个消息并不好:“不幸的是,这是3.6.x版的一个已知问题,我们不太可能很快推出修复程序。”谢谢。这是一张私人机票。他们说他们会用这个更新已知问题页面,直到它被修复。文档记录在“ruby prof for ruby 3.5.8.72”很好,谢谢。我将此转换为已批准的答案,因为3.5.8.72(我相信)在服务器上与newrelic一起使用有点过时