在 scheduler_daemon.log 下發現錯誤訊息.
# Logfile created on 2014-07-29 23:49:00 +0800 by logger.rb/31641
*** below you find the most recent exception thrown, this will be likely (but not certainly) the exception that made the application exit abnormally ***
#<NameError: uninitialized constant Rufus::EmScheduler>
*** 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 ***
#<IOError: stream closed>
#<NoMemoryError: failed to allocate memory>
#<SystemStackError: stack level too deep>
#<fatal: exception reentered>
#<Errno::ENOENT: No such file or directory - /home/xxx/log/scheduler_daemon.pid>
#<NameError: uninitialized constant Rufus::Scheduler::EmScheduler>
#<NameError: uninitialized constant Rufus::EmScheduler>
#<NameError: uninitialized constant EmScheduler>
#<NameError: uninitialized constant EmScheduler>
#<NameError: uninitialized constant Rufus::EmScheduler>
主要就是要把 Gemfile.lock
rufus-scheduler (3.0.8) 改成 rufus-scheduler (2.0.24)
來源: https://github.com/ssoroka/scheduler_daemon/commit/72226e915a5b25e5695e6b7017eaefff27c90348
2014年7月30日 星期三
[rails] scheduler_daemon 執行出現問題.
【下列文章您可能也有興趣】
>>>Ruby on Rails
- [Rails Error] rubygems/core_ext/kernel_require.rb in `require': cannot load such file -- bundler/setup (LoadError)
- [Rails] 運用 Net::HTTP and URI
- [Rails] require: cannot load such file -- bundler/setup (LoadError)
- Ruby &block lambda proc yield 使用
- [Rails] ActiveRecord::Enum
- Rails 4 class method 使用 alias_attribute, alias_method_chain, delegate, mattr_accessor
- An ActionDispatch::RemoteIp::IpSpoofAttackError 10.xx.xx.xx
- Rails 3.2.20 redirecting class 內的 _compute_redirect_to_location
- Devise Issue: “[17] is not a symbol” [duplicate]
>>>rails plugin
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言