Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unitialized constant error #20

Closed
jnb opened this issue Oct 25, 2013 · 2 comments
Closed

Unitialized constant error #20

jnb opened this issue Oct 25, 2013 · 2 comments

Comments

@jnb
Copy link
Collaborator

jnb commented Oct 25, 2013

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?

@rdeusser
Copy link

Looks like that was fixed here: 6e043d9 so this issue can probably be closed.

@jolynch
Copy link
Collaborator

jolynch commented Apr 18, 2017

indeed, thanks for the heads up.

@jolynch jolynch closed this as completed Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants