-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Upgrade to Ruby 2.7.8 → 3.0.7, Rails 6.0 → 6.1 #857
Conversation
I don't see it mentioned, but did you run the Rails specific update task and then make any changes we would need to based on the 6.0 -> 6.1 breaking changes? |
Oh thanks, I didn't know about that! Have pushed those updates, and some test fixes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we wanna move to the 6.1 defaults, see my 2 comments. If not, LGTM send it.
# | ||
# config.time_zone = "Central Time (US & Canada)" | ||
# config.eager_load_paths << Rails.root.join("extras") | ||
|
||
# Initialize configuration defaults for originally generated Rails version. | ||
config.load_defaults 6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should load the defaults for 6.1 now (see other comment).
@@ -0,0 +1,67 @@ | |||
# Be sure to restart your server when you modify this file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is only needed to enable 6.1 defaults one at a time. If possible can you test each one and then remove this and enable the 6.1 defaults?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Want to ship this and let it run for a bit first, so we have a smaller search space for any issues we hit. Then will swap over the defaults one by one!
Had a tangled mess of a mass update to Rails 7, but had no confidence in its correctness, so taking it slow making incremental updates instead.
This branch's goal is only to update Ruby, but it seems Rails needs a bump to reasonably support that as well. There were a few explicit updates required along with that, and the rest of the gem updates were caused (so required) directly by the
bundle update rails ...
command.The migrations were generated by Authie, which required them for its own upgrade.