chaynHQ / soulmedicine

Soul Medicine a multilingual digital service designed to deliver critical safety information and supportive messaging in bite-sized pieces.
https://soulmedicine.io
MIT License
37 stars 9 forks source link

Upgrade Ruby to 3.1 #308

Closed tarebyte closed 11 months ago

tarebyte commented 1 year ago

The current system is running on Ruby 2.5.8 which reached EOL in April of 2021.

We need to upgrade the system to use Ruby 3.2 to ensure that we are secure and the most up to date that is possible.

Below is the order in which the update is recommended.

These should be updated with as few dependencies updated as possible to avoid breaking changes during the upgrade process. Once we're on the latest version of Ruby, we can then look at tackling the Rails framework updates.

issyl0 commented 1 year ago

https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html

tarebyte commented 1 year ago

@issyl0 should we look into upgrading Rails then?

issyl0 commented 1 year ago

Yeah, I'm planning on looking into that soon! 6.x first, then 7.x.

tarebyte commented 1 year ago

I'm adding the blocked label until we rollout to Rails 6.

issyl0 commented 1 year ago

I will wait until #322 is done before I start on Rails 6.

tarebyte commented 11 months ago

This has been completed as of https://github.com/chaynHQ/soulmedicine/pull/373