We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I set up sneakers with rails project. Everything following instructions. But have this error:
Unexpected error undefined method `debug' for nil:NilClass Did you mean? debugger /Users/molfar/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/sneakers-2.11.0/lib/sneakers/worker.rb:114:in `worker_trace' /Users/molfar/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/sneakers-2.11.0/lib/sneakers/worker.rb:103:in `run' /Users/molfar/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/sneakers-2.11.0/lib/sneakers/workergroup.rb:42:in `block in run' /Users/molfar/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/sneakers-2.11.0/lib/sneakers/workergroup.rb:41:in `each' /Users/molfar/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/sneakers-2.11.0/lib/sneakers/workergroup.rb:41:in `run'
I think its because
sneakers/lib/sneakers/worker.rb
Line 123 in 24abf5f
The text was updated successfully, but these errors were encountered:
This project is not tied to Rails. We should make the logging method more defensive. You are welcome to contribute a PR.
Sorry, something went wrong.
I've managed to work around this problem (with Rails 6.0.0) by explicitly setting the logger.
Sneakers.logger = Rails.logger Sneakers::Worker.logger = Rails.logger
No branches or pull requests
I set up sneakers with rails project. Everything following instructions. But have this error:
I think its because
sneakers/lib/sneakers/worker.rb
Line 123 in 24abf5f
It will be better that sneakers use rails logger or stdout by default, with no config.
The text was updated successfully, but these errors were encountered: