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.2 #3950

Merged
merged 2 commits into from
Dec 10, 2023
Merged

Upgrade to Ruby 3.2 #3950

merged 2 commits into from
Dec 10, 2023

Conversation

dorner
Copy link
Collaborator

@dorner dorner commented Nov 26, 2023

No description provided.

@dorner dorner marked this pull request as ready for review November 26, 2023 02:19
@@ -5,8 +5,6 @@ git_source(:github) do |repo_name|
"https://github.com/#{repo_name}.git"
end

ruby "3.1.2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this deleted by mistake? bundler needs to know the ruby version.
Is there a hook within the project for the bundler to read from .ruby-version?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's not a mistake - Cloud66 [explicitly says to delete this](https://help.cloud66.com/docs/build-and-config/managing-and-upgrading-ruby-versions#how-we-determine-the-version-to-use). It's not needed within the Gemfile. If you're using a Ruby version manager like RVM or asdf, it'll use .ruby-version. We control the version on CI with our GitHub Actions file, and Cloud66 uses the manifest file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha! And @dorner have you noticed any issue with this in local development? ( I like the code when it is more explicit than implicit. ) Cloud66 checks the version in manifest file first. So we can have it in both the places to satisfy local dev & deployment. Thoughts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, haven't noticed any issue. I left in .ruby-version which would power local dev.

Copy link
Contributor

@kiranbpatil kiranbpatil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Collaborator

@awwaiid awwaiid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I was going to ask for .tool-versions to be updated too, but then realized that is local only right now :)

@dorner dorner merged commit 1d40fc4 into main Dec 10, 2023
12 checks passed
@dorner dorner deleted the ruby3.2 branch December 10, 2023 15:07
Copy link
Contributor

@dorner: Your PR Upgrade to Ruby 3.2 is part of today's Human Essentials production release: 2023.12.10.
Thank you very much for your contribution!

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.

3 participants