Skip to content

Upgrade Ruby from 3.3.10 to 4.0.1#6803

Closed
yagosansz wants to merge 3 commits intorubyforgood:mainfrom
yagosansz:yagosansz-upgrade-ruby-4.0.1
Closed

Upgrade Ruby from 3.3.10 to 4.0.1#6803
yagosansz wants to merge 3 commits intorubyforgood:mainfrom
yagosansz:yagosansz-upgrade-ruby-4.0.1

Conversation

@yagosansz
Copy link
Copy Markdown

@yagosansz yagosansz commented Mar 26, 2026

What github issue is this PR for, if any?

Resolves #6750

What changed, and why?

We're upgrading Ruby from 3.3.10 to 4.01.

How is this tested? (please write rspec and jest tests!) 💖💪

Note: if you see a flake in your test build in github actions, please post in slack #casa "Flaky test: " :) 💪
Note: We love capybara tests! If you are writing both haml/js and ruby, please try to test your work with tests at every level including system tests like https://github.com/rubyforgood/casa/tree/main/spec/system

I went through the app pages for the users below and did a smoke test through some of the menu options:

Screenshots please :)

Run your local server and take a screenshot of your work! Try to include the URL of the page as well as the contents of the page.

Feelings gif (optional)

_What gif best describes your feeling working on this issue? https://giphy.com/
test

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Mar 26, 2026
@github-actions github-actions bot added the ruby Pull requests that update Ruby code label Mar 26, 2026
@yagosansz yagosansz marked this pull request as ready for review March 27, 2026 04:42
@yagosansz
Copy link
Copy Markdown
Author

yagosansz commented Mar 27, 2026

Hey folks, this is my first time completing a Ruby upgrade, if there are more things you need me to look at and test please let me know 🙏

I'll do a second pass at this and so more research on things to look out for!

@compwron
Copy link
Copy Markdown
Collaborator

https://devcenter.heroku.com/articles/ruby-support-reference#ruby-version-support-policy

@compwron
Copy link
Copy Markdown
Collaborator

Sorry we didn't put this in the ticket but I think that the safest thing is - Please update ruby to 4.0.2 and rubygems to 4.0.6 as per heroku currently supported docs https://devcenter.heroku.com/articles/ruby-support-reference#ruby-version-support-policy

@yagosansz
Copy link
Copy Markdown
Author

Hi @compwron I'm closing this PR because the branch name is not meaningful. I created this new one: #6805

@yagosansz yagosansz closed this Mar 28, 2026
@yagosansz yagosansz deleted the yagosansz-upgrade-ruby-4.0.1 branch March 28, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to ruby 4!

2 participants