我正在使用ruby守護進程gem爲我的rails項目創建自定義守護進程。唯一的問題是,當我嘗試啓動守護進程ruby lib/daemons/test_ctl start
它失敗並且不會啓動。日誌文件具有此輸出。Ruby守護進程不會啓動
# 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插件),並嘗試運行它有時甚至會出現。有誰知道如何解決這個問題?
我能得到它由Daemons.run線前加入這一行的工作: `$ <