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

Add Ruby 3.0, 3.1, 3.2, and 3.3 to CI, and retire 2.6 #895

Closed
wants to merge 2 commits into from

Conversation

parkr
Copy link
Contributor

@parkr parkr commented Dec 20, 2023

Ruby is moving forward, and Pages must follow or risk security issues and poor developer experience.

@parkr parkr changed the title Add Ruby 3.0, 3.1, and 3.2 to CI, and retire 2.6 Add Ruby 3.0, 3.1, 3.2, and 3.3 to CI, and retire 2.6 Dec 28, 2023
@parkr
Copy link
Contributor Author

parkr commented Dec 28, 2023

@yoannchaudet It looks like the Dockerfile-based CI is failing due to dropping support for Ruby 2.x:

#8 ERROR: process "/bin/sh -c gem update --system" did not complete successfully: exit code: 1
------
 > [ 3/12] RUN gem update --system:
14.32 ERROR:  Error installing rubygems-update:
14.32 	There are no versions of rubygems-update (= 3.5.3) compatible with your Ruby & RubyGems
14.32 	rubygems-update requires Ruby version >= 3.0.0. The current ruby version is 2.7.3.183.
14.32 ERROR:  While executing gem ... (NoMethodError)
14.32     undefined method `version' for nil:NilClass
14.34 Updating rubygems-update
------
Dockerfile:11
--------------------
   9 |         nodejs
  10 |     
  11 | >>> RUN gem update --system
  12 |     
  13 |     COPY .git /src/gh/pages-gem/.git
--------------------

@yoannchaudet
Copy link
Contributor

Hopefully #901 is equivalent 🤞.

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