Skip to content
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 3.4.1 and Rails 7.2 #1287

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Upgrade to ruby 3.4.1 and Rails 7.2 #1287

wants to merge 2 commits into from

Conversation

mssola
Copy link
Contributor

@mssola mssola commented Feb 20, 2025

Description

This PR does not just upgrade to Ruby 3.4.1, but it also upgrades a lot of gems underneath. This has been accidental by the way I needed to manage bundler. Anyways, I have split the Gemfile into both versions, and the Gemfile and Gemfile.lock files are merely a symlink.

There are still tests to be worked on, and the building surely needs a rebump (e.g. picking the right symlink?). Hence the wip label.

This PR also brings some improvements to the sqlite3 setup, which I was only able to reproduce while performing the upgrade.

@mssola mssola added the WIP Work in progress, do not merge. label Feb 20, 2025
Before this commit, if you tried to spin up a new RMT with sqlite3 as an
adapter you would be facing several issues. The first would be to
manually set the adapter on `config/rmt.yml`, whereas an environment
variable would suffice, as it's done for other database-related configuration.

Migrations were also quite mysql-centric, and they are mostly not
relevant since sqlite3 deployments are not even supported. Hence, we can
safely skip most of the data migration paths.

Signed-off-by: Miquel Sabaté Solà <[email protected]>
The upgrade to Rails 7.2 (as upgrades for many other gems) has been
accidental, as Ruby 3.4.1 caused problems with old Rails (and other
gems). Since the whole ruby upgrade also brought many changes
bundler-wise, I decided to upgrade everything in one stroke.

Signed-off-by: Miquel Sabaté Solà <[email protected]>
@mssola mssola changed the title Upgrade to ruby 3.4.1 and Rails 7.1 Upgrade to ruby 3.4.1 and Rails 7.2 Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress, do not merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant