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
RSpec warning #1686
Comments
|
This is a verbose-mode warning, and expected due to an optimization that Sequel uses. If you want to ignore it: require 'warning' # warning gem
Warning.ignore(:not_reached) |
|
Got it, thanks! |
|
Following up, this gem is amazing (as usual!). Thanks a lot. Warning.ignore(:not_reached, /.*query\.rb/)And useful to silence warnings from a bunch of other gems too. Very nice. For anyone ending up on this issue, this snippet might help you: # Ignore all warnings in Gem dependencies
Gem.path.each do |path|
Warning.ignore(//, path)
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Complete Description of Issue
When running RSpec specs on my projet, I get this warning when warnings are enabled:
Using Ruby 2.7.1.
The text was updated successfully, but these errors were encountered: