Я пытаюсь создать собственный демон, который загружает среду Rails. Моя среда выглядит следующим образом: рубиново-1.9.2-p180 рельсы 3.0.5
Я сделал следующее:
-Установил камень демонов
-Установленный плагин daemon_generator, найденный здесь: https://github.com/dougal/daemon_generator
-генерированный демона: рельсы генерируют приемник демона
Все это отлично работало. Когда я запускаю демон, он работает.
Однако, как только я пытаюсь получить доступ к активному объекту записи, например, пытаясь получить пользователя, он взрывается.
*** 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>
Любые мысли о том, как создать Daemon, который загружает Rails 3.0.5?