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

Bump Ruby docker image from 2.7.0 to 3.2.2 #2

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Conversation

davidrunger-cl
Copy link

@davidrunger-cl davidrunger-cl commented Dec 15, 2023

Support for Ruby 2.7 was dropped in bundler 2.5.0, released today (2023-12-15). We need bundler in this action. Therefore, we're bumping our Ruby version to a version that bundler supports, 3.2.2. This is also the most recent stable release of Ruby, and also the version of Ruby that we are currently using in the commonlit repo.

Discussed in Slack here.

Example of a failing build:

#9 [5/5] RUN gem install bundler bundler-audit
#9 30.93 ERROR:  Error installing bundler:
#9 30.93 	The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
#9 30.93 	bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.0.0.

Support for Ruby 2.7 was [dropped][1] in bundler 2.5.0, released today
(2023-12-15). We need bundler in this action. Therefore, we're bumping
our Ruby version to a version that bundler supports, 3.2.2. This is also
the most recent stable release of Ruby, and also the version of Ruby
that we are currently using in the `commonlit` repo.

Discussed in Slack [here][2].

[Example][3] of a failing build.

[1]: https://github.com/rubygems/rubygems/blob/master/bundler/CHANGELOG.md#250-december-15-2023
[2]: https://commonlit.slack.com/archives/C5BFTS7NC/p1702662411162479
[3]: https://github.com/commonlit/commonlit/actions/runs/7225260353/job/19688299101?pr=25786#step:2:130
@davidrunger-cl davidrunger-cl merged commit 103c4f5 into main Dec 15, 2023
1 check passed
@davidrunger-cl davidrunger-cl deleted the bump-ruby branch December 15, 2023 19:14
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.

2 participants