Build failed if masOS 26 without install libyaml #2588
Replies: 1 comment
-
|
Hi, thank you for the feedback, and I'm sorry this has caused you some debugging time. The ruby-build project abstracts away many of the complexities of downloading and building a Ruby version, but it stops short of checking build dependencies on purpose. The recommended setup is only outlined in our wiki as a guide, but we're reluctant of programmatically managing these dependencies because the list of Unix-like systems and all the possible variations of operating system versions, different package managers, and different expectations people have for setting up software on their system would be too much of responsibility for our project to handle. Therefore, as it always is with compiling software from source code, you will actually have to handle the dependencies setup yourself. I wish there a simple, unified interface for checking for and installing software libraries, and until there is one, ruby-build will leave that as an exercise to the user. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As title, If mac didn't install
libyamlbyhomebrew. It will failed with installing ruby 3.x.I know Wiki said need to install dependencies by install with homebrew.

Yes it is work, if I installed
libyamlbefore installing withrbenv install 3.x.But think about scenario, I own lots of CI runner(mac os self-runner using
miseand gemfile to control version of ruby), and if I wanna to update ruby from 2.x to 3.x, I need to get into runner and execute brew install libyaml for every runner.So, I'd like to ask if possible to handle dependencies by ruby-build self? Cause mise use
ruby-buildby default.When I use ruby 2.6.10. Everything will be fine. But if I set ruby version on mise configuration, like below.

and execute mise install. And failed installing without
libyaml😢below is CI failed message

Beta Was this translation helpful? Give feedback.
All reactions