Error initializing plugin
There's no data in my reports (neither development nor production mode) and while trying to load the init.rb via script/console I get:
** [NewRelic] Error initializing New Relic plugin
** [NewRelic] undefined local variable or method `config' for #<object:0x8090e90>
Any ideas? I'm using Rails 2.1.1 Thanks for help.
</object:0x8090e90>
** [NewRelic] Error initializing New Relic plugin
** [NewRelic] undefined local variable or method `config' for #<object:0x8090e90>
Any ideas? I'm using Rails 2.1.1 Thanks for help.
</object:0x8090e90>
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi,
I don't see this problem with our latest agent v2_5_1 on my Mac.
Which version of agent are you using? You can find out the agent version by looking at the version.txt under newrelic_rpm plugin directory or the version.rb under /newrelic_rpm/lib/newrelic for more recent agent release.
Thank,
Mei -
Inappropriate?That error is expected if you run init.rb from the console. (I am going to update the troubleshooting guide)
If you did not see any warnings about redefining constants after doing the load of init.rb, then I would suspect that your environment.rb is not attempting to load the newrelic plugin. Can you think of any reason why it wouldn't automatically load a plugin installed in vendor/plugins?
Loading Profile...



EMPLOYEE
EMPLOYEE