drsharp/spawner — pull request #3 by oasic (2012-06-20 14:28:12+00:00)
Title: More Robust Checks on Logger

I received the following error in my Rails app due to @@logger being nil:

...lib/spawner.rb:37:in `default_options': undefined method `info' for nil:NilClass (NoMethodError)

There was a check to see if Rails.logger is defined, but no check to see if it's nil. This change fixes that.

Thanks!