You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Latest release dropped support for 3.1.4 on macos 13? #534
I verified it reproduces with the latest version with - uses: ruby/setup-ruby@v1 (see Versioning policy)
I tried to reproduce the issue locally by following the workflow steps (including all commands done by ruby/setup-ruby, except for Downloading Ruby & Extracting Ruby),
and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)
Are you running on a GitHub-hosted runner or a self-hosted runner?
self-hosted runner
Link to the failed workflow job (must be a public workflow job, so the necessary information is available)
Workflow is private
Any other notes?
We are running Mac OS 13 arm64, and are using Ruby 3.1.4.
How did that work? Until the last release macos-arm64 was not supported and so considered self-hosted and so would never download a prebuilt ruby AFAIK.
How did that work? Until the last release macos-arm64 was not supported and so considered self-hosted and so would never download a prebuilt ruby AFAIK.
Apologies - I must be wrong about that piece. Maybe it wasn't downloading a prebuilt Ruby - I didn't actually witness it doing that.
So maybe someone followed the self-hosted instructions given by setup-ruby and manually installed ruby 3.1.4 on your self-hosted runner(s). That should work as good as it did before.
In any case I'll try to support 3.1.x on macos-arm64.
Any help to figure out why it fails to build is welcome, e.g. maybe you can run RUBY_CONFIGURE_OPTS=--disable-shared ruby-build --verbose 3.1.4 ~/tmp/ruby-3.1.4 and report if that works on your macos-arm4 machine and investigate if it doesn't.
Activity
eregon commentedon Oct 11, 2023
https://github.com/ruby/ruby-builder/releases/download/toolcache/ruby-3.1.4-macos-latest.tar.gz is an amd64 binary, not an aarch64. So that never worked on purpose on macos-arm64. But maybe it accidentally did through Rosetta? That would be pretty slow though.
Ruby 3.1 fails to build on macos-arm64: #494 (comment)
eregon commentedon Oct 11, 2023
How did that work? Until the last release macos-arm64 was not supported and so considered self-hosted and so would never download a prebuilt ruby AFAIK.
jonbrooks commentedon Oct 12, 2023
Apologies - I must be wrong about that piece. Maybe it wasn't downloading a prebuilt Ruby - I didn't actually witness it doing that.
eregon commentedon Oct 12, 2023
So maybe someone followed the self-hosted instructions given by setup-ruby and manually installed ruby 3.1.4 on your self-hosted runner(s). That should work as good as it did before.
In any case I'll try to support 3.1.x on macos-arm64.
Any help to figure out why it fails to build is welcome, e.g. maybe you can run
RUBY_CONFIGURE_OPTS=--disable-shared ruby-build --verbose 3.1.4 ~/tmp/ruby-3.1.4and report if that works on your macos-arm4 machine and investigate if it doesn't.eregon commentedon Oct 12, 2023
3.1.x on macos-arm64 added: #494 (comment)