Skip to content

Fix JRuby builds / minimum ruby version #1637

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eval
Copy link
Collaborator

@eval eval commented Mar 27, 2025

Recent JRuby builds were failing with errors "Error: Unavailable version 9.2.21.0 for jruby on ubuntu-24.04".

This PR ensures JRuby uses ubuntu-22.04.

It also prunes builds for CRuby 2.5 and 2.6.

@eval eval requested a review from Copilot March 27, 2025 15:40
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the supported Ruby versions and adjusts the GitHub Actions workflow to use newer Ubuntu images for JRuby testing while pruning older Ruby versions.

  • Consolidated the Ruby, JRuby, and Truffleruby version listings in README.md.
  • Updated the workflow matrix to specify the appropriate OS for JRuby and added support for Ruby 3.3.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md Consolidated version support information for Ruby, JRuby, and Truffleruby.
.github/workflows/test.yml Updated the test workflow to use a variable for the OS and set ubuntu-22.04 for JRuby jobs.

@eval eval requested a review from radar March 27, 2025 15:52
@eval
Copy link
Collaborator Author

eval commented Mar 27, 2025

As Ruby 2.7 is now 2 years EOL, maybe a good moment to prune that version as well, WDYT @radar?

@fz-ryanbigg
Copy link

Yep, trim it. While you're there, also trim 3.0 (EOL'D almost a year ago). Keep 3.1, despite it EOL'ing in 4 days time.

Ruby 3.0 EOL was 2024-04-23.

**NOTE:** The next release after this is merged should be v2.9.0.
@eval eval changed the title JRuby requires older ubuntu Fix JRuby builds / minimum ruby version Mar 28, 2025
JRuby needs an older ubuntu.
Ruby >3.4 no longer has benchmark as default gem.
@eval
Copy link
Collaborator Author

eval commented Mar 28, 2025

@fz-ryanbigg 3.1 it is 👍🏻

@eval
Copy link
Collaborator Author

eval commented Apr 11, 2025

@fz-ryanbigg good to go?

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