Build failed for Ruby 2.7.5 on M1 Mac (Ventura 13.0) #2082
-
I'm currently using MacBook Pro 2021 (M1 Pro). My MacOS version is Ventura 13.0. I'm unable to install Ruby 2.7.5 on my machine. Please guide me. Here are the logs for the failed build.
Note: I have followed the instructions here for Ruby 2.7.5: https://github.com/rbenv/ruby-build/wiki#suggested-build-environment with all the latest versions of rbenv, ruby-build, readline, gmp, libyml, etc. I install using command "rbenv install 2.7.5" Original logs attached in the comment below! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
Hi, something weird happened to your log file. It looks like some tool edited it or added it after ruby-build initially generated it. Please upload the log file unmodified. |
Beta Was this translation helpful? Give feedback.
-
@mislav Here are the original logs |
Beta Was this translation helpful? Give feedback.
-
I also have this problem and can't figure out why it is failing. I tried the answer from this thread but nothing seems to work. ` WARNING: ruby-2.6.4 is past its end of life and is now unsupported. ruby-build: using readline from homebrew BUILD FAILED (macOS 13.0.1 using ruby-build 20221124) Inspect or clean up the working tree at /var/folders/px/m4dcvbf92jbgwc06pd194nt80000gn/T/ruby-build.20221201131112.46839.81u9oR Last 10 log lines: |
Beta Was this translation helpful? Give feedback.
-
user@01HW2267461 ~ % rbenv global 2.7.0 WARNING: ruby-2.7.0 is past its end of life and is now unsupported. ruby-build: using readline from homebrew BUILD FAILED (macOS 13.5.1 on arm64 using ruby-build 20240501) You can inspect the build directory at /var/folders/8b/647dmgl905vbh36v4p_l0h_m0000gq/T/ruby-build.20240510233815.3165.whbK9z |
Beta Was this translation helpful? Give feedback.
@mislav Here are the original logs
ruby-build.20221107095056.30615.log