-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
live reload with Ruby 3.1.0 causes uninitialized class variable @@direct_descendants in ActiveSupport::DescendantsTracker #484
Comments
This seems to be specific to Ruby 3.1.0. I cannot reproduce with 3.0.3. |
Can confirm, it seems specific to Ruby 3.1 and a related refactoring in Active Support v7. Thanks for the report @monfresh. |
I'm still getting this in Ruby 3.0.4 with a fresh install of 1.3.1. MacOS: Ventura 13.2 Error Message:
|
Fixed by upgrading to Ruby 3.1.2 |
If you're using Ruby 3.1, I recommend upgrading to 3.1.4, which is the latest in the 3.1.x series. There's rarely a good reason to use a version less than the latest one in a given series. endoflife.date is good site for finding the latest versions for each release. For more details on the reasoning behind this, check out my article: |
@monfresh i was mostly just impatient and it was the latest I had installed on my machine. I ended up compiling and building 3.1.4 with ASDF earlier today. |
Live reload causes this same exception every time on a brand new bridgetown site:
Bridgetown Version:
1.0.0.beta1
To Reproduce
2022-01-16-welcome-to-bridgetown.md
or any file that would trigger a live reloadCurrent behavior
The change doesn't appear, even after a browser refresh. Instead, the error pasted above appears in the terminal every time live reload gets triggered.
Expected behavior
No error, and the updated content gets live reloaded in the browser.
Screenshots
Computing environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: