railsware / newrelic_platform_plugins

MIT License
42 stars 66 forks source link

undefined method `keys' for nil:NilClass #41

Open callmevossler opened 10 years ago

callmevossler commented 10 years ago

Trying to install the newrelic logwatcher.

ruby newrelic_logwatcher_agent.rb [Thu Mar 27 19:37:08 UTC 2014] WARN: SSL is disabled by default when using Ruby 1.8.x newrelic_logwatcher_agent.rb:130: undefined method `keys' for nil:NilClass (NoMethodError)

Here's the failing code: NewRelic::Plugin::Config.config.agents.keys.each do |agent|