我正在使用 ruby daemons gem 为我的 rails 项目创建自定义守护程序。唯一的问题是,当我尝试启动守护进程时ruby lib/daemons/test_ctl start
,它会失败并且不会启动。日志文件具有此输出。
# Logfile created on Wed Oct 22 16:14:23 +0000 2008 by /
*** below you find the most recent exception thrown, this will be likely (but not certainly) the exception that made the application exit abnormally \*\*\*
# MissingSourceFile: no such file to load -- utf8proc_native
*** 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>
# LoadError: no such file to load -- daemons>
# LoadError: no such file to load -- active_support>
# MissingSourceFile: no such file to load -- lib/string>
# MissingSourceFile: no such file to load -- utf8proc_native>
当我生成一个守护进程(从 rails 插件)并尝试运行它时,它甚至会发生。有谁知道如何解决这个问题?