Skip to content

Use main gemfile for truffleruby/jruby - Fix CI#3844

Merged
kddnewton merged 1 commit into
ruby:mainfrom
Earlopain:truffleruby-jruby-ci-gemfile
Jan 11, 2026
Merged

Use main gemfile for truffleruby/jruby - Fix CI#3844
kddnewton merged 1 commit into
ruby:mainfrom
Earlopain:truffleruby-jruby-ci-gemfile

Conversation

@Earlopain

Copy link
Copy Markdown
Collaborator

Truffleruby 33.0.0 has been released.

Each time truffleruby/jruby release a new X.Y, the versions in the gemfiles need to be updated in order to not fail CI.
The engine_version can be removed but at that point might as well just use the main gemfile.

During development, the main gemfile should support these two already anyways. I moved parser/ruby_parser out of the platform check. The engine-specific gemfiles installed them but not the main one.

@Earlopain
Earlopain force-pushed the truffleruby-jruby-ci-gemfile branch 2 times, most recently from 1b79b26 to 9a7a7cc Compare January 11, 2026 19:27
Each time they release a new X.Y, the versions in the gemfiles need to
be updated in order to not fail CI.
The `engine_version` can be removed but at that point might as well just use the main gemfile.

During development, the main gemfile should support these two already anyways.
@Earlopain
Earlopain force-pushed the truffleruby-jruby-ci-gemfile branch from 9a7a7cc to 23b9de6 Compare January 11, 2026 19:45
@Earlopain
Earlopain marked this pull request as ready for review January 11, 2026 19:59

@kddnewton kddnewton left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice! That's great.

@kddnewton
kddnewton merged commit 1526666 into ruby:main Jan 11, 2026
66 checks passed
@eregon

eregon commented Jan 12, 2026

Copy link
Copy Markdown
Member

Very nice!
I wonder if we also need all the others for each CRuby version in https://github.com/ruby/prism/tree/main/gemfiles
Would be great to have a single Gemfile, but I suppose that's problematic somehow given their existence?
Probably the resolution would be overly pessimistic/old gem versions if everything needs to run on 2.7?

@Earlopain

Copy link
Copy Markdown
Collaborator Author

Yeah, the problem is that the main gemfile doesn't work for all ruby versions. Not sure which versions works but I do know that it's not every single one. It wouldn't be a problem if the lockfile wasn't commited but since it is there has to me at least more than one gemfile. They don't make much trouble so it shouldn't really matter.

@Earlopain
Earlopain deleted the truffleruby-jruby-ci-gemfile branch February 20, 2026 12:41
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