Skip to content

Update to ruby 3.4#239

Open
aaccensi wants to merge 8 commits intomasterfrom
update-ruby3.4
Open

Update to ruby 3.4#239
aaccensi wants to merge 8 commits intomasterfrom
update-ruby3.4

Conversation

@aaccensi
Copy link
Contributor

@aaccensi aaccensi commented Mar 2, 2026

Context

With the goal to update Ruby/Rails stack apps to Ruby 4 and Rails 8 (etengine, etmodel, etlocal, my-etm).
Now we are making a in-between step to Ruby 3.4 to be able to run respec with deprecation warnings.
Then finally update to Rails 8.1, fix any issues and adopt the Solid Stack where relevant.

Implemented changes

  1. Upgrade to Ruby 3.4 and run rspec with deprecation warnings:
    • fixture_path → fixture_paths
  2. Upgrade to Rails 8.1 and fix issues:
    • unprocessable_entity → unprocessable_content
  3. Delete Action Cable references
  4. Configure Solid Queue
  5. Replace Memcache reference

Note that some configuration is necessary, we added a dedicated DB for Solid Queue, that needs configuring some env vars:

  • QUEUE_DATABASE
  • QUEUE_DATABASE_URL

Related

This is one of 4 PRs with the same purpose across the following 4 repos:

Checklist

  • I have tested these changes
  • I have updated documentation as needed
  • I have tagged the relevant people for review

aaccensi added 5 commits March 2, 2026 16:35
Fixes include updating spec assertions to match changed Rails 8 error messages and replacing deprecated :unprocessable_entity status with :unprocessable_content for Rack 3 compatibility.
Nothing to migrate to Solid Cable since it is entirely unused therefore only cleanup.
Replace sidekiq enitrely and adapt jobs as "Retry with exponential backoff" is handled by default.
@aaccensi aaccensi mentioned this pull request Mar 4, 2026
3 tasks
Nothing to migrate to Solid Cache since it is entirely unused, but still replaced the commented config.
@aaccensi aaccensi marked this pull request as ready for review March 11, 2026 15:07
@aaccensi aaccensi requested a review from noracato March 11, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant