Chris Johnson wrote: > Anyone have any idea why this error is occuring? > > http://pastie.org/505297 > > I am creating a plugin that provides a configurable logger. When I set > the logger to be Logger.new(STDOUT), things work fine. When I set it to > be Rails.logger, I get the above message. > > Any insight? > > I appreciate it. > -Chris
For the record, I fixed this by delaying the loading of the Rails environment until within the daemonized process. Got the idea from here: http://www.elevatedrails.com/articles/2008/12/02/daemonizing-rails/ -Chris -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

