-
Notifications
You must be signed in to change notification settings - Fork 188
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
Fix ruby-head compatibility #159
Conversation
Hi, will there be a release including this fix at some point? |
+1 for release. To get around this issue on Ruby 3.0.0, I had to specify master branch in my Gemfile:
|
Hi, what about release with this fix? |
Fix ruby-head compatibility
I had to specify github like below for it to install properly: |
May I ask why there isn't a release with this fix? |
You can, but I can't answer your question. However I can tell you that the 2.0.0 release from 18 months ago does contain this fix. |
Rails 6.1 error is still here... how to fix this? |
Thanks for this. This is what fixed it for me. Rails 6.1, Ruby 3.1.2 |
I'm testing ruby-head and LoggerSilencer is causing issues:
What happens is that
LoggerSilencer
uses the same class variable thanAS::LogerSilence
but sets it in::Logger
rather thanAS::Logger
. On Ruby 2.8/3.0 it raises an error (on previous versions it issues a warning).I think all this code is a bit redudant hence why I removed it. I think we can safely assume, or at least require that
AR::Base.logger
includesAS::LoggerSilence
.@rafaelfranca @Edouard-chin @etiennebarrie thoughts?