Getting 'Error initializing New Relic plugin' after installation
I've just installed the plugin and am getting this error after i 'script/server'
I'm using rails 1.2.6, with lighttpd
Ruby 1.8.5
Rake 0.8.1
gem 0.9.4
using port 4001
Mac OSX 10.5
** [NewRelic] Error initializing New Relic plugin
** [NewRelic] undefined method `load_paths' for Dependencies:Module
** [NewRelic] vendor/plugins/newrelic_rpm/init.rb:64:in `load_plugin'
I'm using rails 1.2.6, with lighttpd
Ruby 1.8.5
Rake 0.8.1
gem 0.9.4
using port 4001
Mac OSX 10.5
** [NewRelic] Error initializing New Relic plugin
** [NewRelic] undefined method `load_paths' for Dependencies:Module
** [NewRelic] vendor/plugins/newrelic_rpm/init.rb:64:in `load_plugin'
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 d13. You wouldn't happen to be related to my brother, d12? Just kidding. I'm guessing you're running on rails edge? We have a bug with rails edge that should be fixed in a couple of days. The Dependencies module moved into another namespace.
Regards,
Jim -
Inappropriate?Hey Jim thanks for the quick reply, probably no relation :)
Im actually on rails 1.2.6 so not quite edge..
Heres the combo im on
rails 1.2.6, with lighttpd
Ruby 1.8.5
Rake 0.8.1
gem 0.9.4
using port 4001
Mac OSX 10.5 -
Inappropriate?Oops - didn't see the rails 1.2.6 in your post. The error is happening as we try to put our UI directories onto the load path. It doesn't look like 1.2.6 supports the way we do that. I'll look into a fix and get back to you. In the meantime...any chance of you upgrading rails? ;-)
-
Inappropriate?Hi - we just released a new agent with a bunch of fixes. In our testing 1.2.6 works just fine, however the error you are getting is what we see with 1.1, which we don't currently support. So, I wonder if your app is actually pulling in an old version of rails. Take a look at your environment.rb - the rails version is sometimes hardcoded in a constant at the top of the file.
To upgrade the agent, do from your app directory:
script/plugin install http://svn.newrelic.com/rpm/agent/new... --force
- Jim
Loading Profile...



EMPLOYEE