Skip to content

Update to ruby-4.0.0#181

Closed
larskanis wants to merge 1 commit intomainfrom
ruby-4.0.0
Closed

Update to ruby-4.0.0#181
larskanis wants to merge 1 commit intomainfrom
ruby-4.0.0

Conversation

@larskanis
Copy link
Member

No description provided.

fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ["4.0.0-preview3", "3.4", "3.3", "3.2", "3.1", "3.0"]
Copy link
Collaborator

@flavorjones flavorjones Dec 25, 2025

Choose a reason for hiding this comment

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

This is not going to work until dockerhub images are updated, and setup-ruby is updated.

I would advise just updating the ruby version in the container as a first step.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right!

Copy link
Collaborator

Choose a reason for hiding this comment

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

I've opened an alternative that just updates the version in the container image: #182

@larskanis
Copy link
Member Author

Closing this in favor of #182 .

@larskanis larskanis closed this Dec 25, 2025
@larskanis
Copy link
Member Author

Release versions of extensions are not compatible with pre-release ruby. They raise

/opt/hostedtoolcache/Ruby/4.0.0-preview3/x64/lib/ruby/gems/4.0.0+1/gems/rcd_test-1.0.0-x86_64-linux/lib/rcd_test.rb:3:in 'Kernel#require':
/opt/hostedtoolcache/Ruby/4.0.0-preview3/x64/lib/ruby/gems/4.0.0+1/gems/rcd_test-1.0.0-x86_64-linux/lib/rcd_test/4.0/rcd_test_ext.so:
undefined symbol: ruby_abi_version - ruby_abi_version (LoadError)

Like here: https://github.com/rake-compiler/rake-compiler-dock/actions/runs/20507193772/job/58924268124#step:6:31

New PR: #183

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