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
LoggerSilenceruses the same class variable thanAS::LogerSilencebut sets it in::Loggerrather 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.loggerincludesAS::LoggerSilence.@rafaelfranca @Edouard-chin @etiennebarrie thoughts?