SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

Update Rails

Open Flaburgan opened this issue 2 years ago • 3 comments

Rails 7 is now out, and Rails 5 doesn't officially support Ruby 2.7 (see https://github.com/rails/rails/issues/38426) so we need to upgrade, probably to Rails 6 first.

Flaburgan avatar Dec 19 '21 14:12 Flaburgan

It looks like this will depend on:

  1. the upcoming release of version 0.3.0 of https://github.com/diaspora/diaspora_federation
  2. an update to — or replacement of — js_image_paths. Since there were some asset pipeline changes from Rails 5 to Rails 6, updating js_image_paths might require more than just relaxing the Rails version constraint.

ragesoss avatar Dec 31 '21 19:12 ragesoss

  • The change to Zeitwerk - class loader will be challenging.
  • Some Gems are quite old or not directly supported.
  • Workers now based on ActiveJob (easy).

tclaus avatar Mar 03 '22 07:03 tclaus

We could mark this issue as an Epic and create sub-issues for the individual tasks that needs to be completed before we can upgrade to rails 6. That way we can make this easier to track and hopefully make it easier for more people to contribute to the effort.

abrahamparayil avatar Jun 11 '22 20:06 abrahamparayil