I got the following error when running Nerve under Ruby 1.8:
nerve/lib/nerve/service_watcher/tcp.rb:53: uninitialized constant Nerve::ServiceCheck::CHECKS (NameError)
from nerve/lib/nerve/service_watcher.rb:1:in `require'
from nerve/lib/nerve/service_watcher.rb:1
from nerve/lib/nerve.rb:10:in `require'
from nerve/lib/nerve.rb:10
from bin/nerve:6:in `require'
from bin/nerve:6
I hacked around it by defining CHECKS = {} in lib/nerve/service_watcher/base.rb, but there might be a cleaner way?
I got the following error when running Nerve under Ruby 1.8:
I hacked around it by defining
CHECKS = {}
inlib/nerve/service_watcher/base.rb
, but there might be a cleaner way?