Demonio personalizado con rieles 3

Estoy tratando de crear un demonio personalizado que cargue el entorno Rails. Mi entorno es el siguiente: ruby-1.9.2-p180 rails 3.0.5

Hice lo siguiente:

-Instale la gema de los demonios

- Complemento de daemon_generator instalado aquí:https: //github.com/dougal/daemon_generato

-Generado un demonio: los rieles generan oyente de demonios

Todo esto funcionó bien. Cuando ejecuto el demonio, funciona.

Sin embargo, tan pronto como intento acceder a un objeto de registro activo como intentar recuperar un usuario, explota.

*** below you find the most recent exception thrown, this will be likely (but not certainly) the exception that made the application exit abnormally ***
#<NameError: method `recognize' not defined in Rack::Mount::RouteSet>
*** below you find all exception objects found in memory, some of them may have been thrown in your application, others may just be in memory because they are standard exceptions ***
#<NoMemoryError: failed to allocate memory>
#<SystemStackError: stack level too deep>
#<fatal: exception reentered>
#<NoMethodError: undefined method `eq' for nil:NilClass>
#<NameError: method `recognize' not defined in Rack::Mount::RouteSet>

Alguna idea sobre cómo crear un Daemon que cargue Rails 3.0.5?

Respuestas a la pregunta(4)

Su respuesta a la pregunta