Big Sur 11.1 ruby-build failed 2.5.1 #1931
Replies: 7 comments 1 reply
-
Try with #1505 (comment) |
Beta Was this translation helpful? Give feedback.
-
@hsbt $ sudo rm -rf /Library/Developer/CommandLineTools It ran without issues. I tried to download again using rbenv install 2.5.1 and got a failure again: erikschulte@Eriks-MacBook-Pro ~ % sudo rm -rf /Library/Developer/CommandLineTools Downloading ruby-2.5.1.tar.bz2... WARNING: ruby-2.5.1 is nearing its end of life. ruby-build: using readline from homebrew BUILD FAILED (macOS 11.1 using ruby-build 20201225) Inspect or clean up the working tree at /var/folders/8q/3_kkmpr9335_5lbl29t0tnfh0000gn/T/ruby-build.20210111212940.86916.MlqKFS Last 10 log lines: Any ideas?? Thank you for being willing to help! |
Beta Was this translation helpful? Give feedback.
-
Ruby 2.5 is not supported on M1 macOS. |
Beta Was this translation helpful? Give feedback.
-
@hsbt I was planning to use this computer to do App Academy. Any idea if there is a good syntax change cheat sheet between versions? Thank you for all the help!! |
Beta Was this translation helpful? Give feedback.
-
Ruby 2.7.2+ and Ruby 3.0.0. |
Beta Was this translation helpful? Give feedback.
-
@hsbt Excited to start learning. Thank you again!! |
Beta Was this translation helpful? Give feedback.
-
For any beings from the future, use this command to install on M1 Mac (I'm using asdf but works for rbenv as well): |
Beta Was this translation helpful? Give feedback.
-
I am trying to download ruby 2.5.1 and have repeatedly run into failures. I have tried a number of trouble shooting techniques. Any help would be greatly appreciated!!
_____@____-MacBook-Pro ~ % rbenv install 2.5.1
Downloading openssl-1.1.1i.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/e8be6a35fe41d10603c3cc635e93289ed00bf34b79671a3a4de64fcee00d5242
Installing openssl-1.1.1i...
BUILD FAILED (macOS 11.1 using ruby-build 20201225)
Inspect or clean up the working tree at /var/folders/8q/3_kkmpr9335_5lbl29t0tnfh0000gn/T/ruby-build.20210111172328.5336.p7cDAo
Results logged to /var/folders/8q/3_kkmpr9335_5lbl29t0tnfh0000gn/T/ruby-build.20210111172328.5336.log
Last 10 log lines:
*** issue on GitHub https://github.com/openssl/openssl/issues ***
*** and include the output from the following command: ***
*** perl configdata.pm --dump ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL file first) ***
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Beta Was this translation helpful? Give feedback.
All reactions