Estoy intentando crear un daemon personalizado que cargue el entorno de Rails. Mi entorno es el siguiente: rubí-1.9.2-p180 carriles 3.0.5Daemon personalizado con Rails 3
hice lo siguiente:
abierto instalado el daemon joya
abierto instalado el plugin daemon_generator encontrar aquí: https://github.com/dougal/daemon_generator
-Generated un demonio: demonio de rieles generan oyente
Todo esto funcionaba bien. Cuando ejecuto el daemon, 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 demonio que carga hasta Rails 3.0.5?
Estoy teniendo el mismo error aquí. Ni siquiera puedo ejecutar al daemon como está. Estoy usando ree-1.8.7-2011.03. Lamento no haber sido de ayuda. – Jaryl
Estoy obteniendo el mismo error usando rvm ruby-1.9.2-p136 y rieles 3.0.7. ¿Encontraste alguna solución? –