error while intializing newrelic
hi all,
I am using rails 1.1.6, I get the following error while intializing newrelic
** [NewRelic] New Relic RPM Agent Initialized: pid = 17450
** [NewRelic] Agent Log is found in script/../config/../log/newrelic_agent.4444.log
** [NewRelic] Error initializing New Relic plugin
** [NewRelic] undefined method `load_paths' for Dependencies:Module
** [NewRelic] script/../config/../vendor/plugins/newrelic_rpm/init.rb:64:in `load_plugin'
script/../config/../vendor/plugins/newrelic_rpm/init.rb:10:in `catch'
script/../config/../vendor/plugins/newrelic_rpm/init.rb:10:in `load_plugin'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:348:in `load_plugin'
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:348:in `load_plugin'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in `load_plugins'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in `load_plugins'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:102:in `process'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `send'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run'
I am using rails 1.1.6, I get the following error while intializing newrelic
** [NewRelic] New Relic RPM Agent Initialized: pid = 17450
** [NewRelic] Agent Log is found in script/../config/../log/newrelic_agent.4444.log
** [NewRelic] Error initializing New Relic plugin
** [NewRelic] undefined method `load_paths' for Dependencies:Module
** [NewRelic] script/../config/../vendor/plugins/newrelic_rpm/init.rb:64:in `load_plugin'
script/../config/../vendor/plugins/newrelic_rpm/init.rb:10:in `catch'
script/../config/../vendor/plugins/newrelic_rpm/init.rb:10:in `load_plugin'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:348:in `load_plugin'
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:348:in `load_plugin'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in `load_plugins'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:158:in `load_plugins'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:102:in `process'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `send'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run'
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi Raju,
We will have a look at this shortly. One thing that stands out to me is that you are using Rails 1.1.6 - we support it, but it is not the most common version or rails we see out there. Could you also send us your agent version number? Thanks! -
Inappropriate?Hi Raju,
My apologies, but I was mistaken in my earlier post. RPM supports only Rails 1.2 -> 2.1. Our full compatibility guide is at http://sites.google.com/a/newrelic.co...
Sorry that we can't help with your app right now, but please give it a try when you migrate to 1.2 or later. Thanks and regards,
-Lew
I’m sad
The company says
this answers the question
-
Inappropriate?thank you for replying Lew, I will try when my app will migrate to any latest version of rails
Thanks & Regards
Raju -
Inappropriate?i am using rails 2.3.3 and ruby 1.8.6
i am upgrading the rails application from rails 1.2.3 to rails 2.3.3
the error i get is as follows:
* [NewRelic] undefined method `load_paths' for Dependencies:Module
** [NewRelic] Agent is disabled.
/home/projects/lonetree/app_to_upgrade/trunk/vendor/plugins/streamlined/init.rb:2:in `evaluate_init_rb': undefined method `load_paths' for Dependencies:Module (NoMethodError)
from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:145:in `evaluate_init_rb'
from /home/projects/lonetree/app_to_upgrade/trunk/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:142:in `evaluate_init_rb'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:48:in `load'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `load_plugins'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each'
from ./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:369:in `load_plugins'
... 11 levels...
from /opt/ruby-enterprise-1.8.6-20090520/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./script/server:3
from -e:2:in `load'
from -e:2
Loading Profile...



EMPLOYEE