Giter Site home page Giter Site logo

Comments (5)

eregon avatar eregon commented on September 14, 2024

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)

from setup-ruby.

eregon avatar eregon commented on September 14, 2024

Version 1.155 would successfully download https://github.com/ruby/ruby-builder/releases/download/toolcache/ruby-3.1.4-macos-latest.tar.gz

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.

from setup-ruby.

jonbrooks avatar jonbrooks commented on September 14, 2024

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.

from setup-ruby.

eregon avatar eregon commented on September 14, 2024

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.

from setup-ruby.

eregon avatar eregon commented on September 14, 2024

3.1.x on macos-arm64 added: #494 (comment)

from setup-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.