Cannot install 2.6.6 on M1 macbook #2034
-
Cannot install ruby 2.6.6 on M1 macbook. (cf. I can install 2.6.9 and 2.7.5 but 2.6.6) Full log file: ruby-build.20220904231335.38826.log $ rbenv install 2.6.6
To follow progress, use 'tail -f /var/folders/zr/x6qshmlj62n5ddw390f70yw40000gn/T/ruby-build.20220904231335.38826.log' or pass --verbose
Downloading openssl-1.1.1q.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca
Installing openssl-1.1.1q...
patching file test/v3ext.c
Installed openssl-1.1.1q to /Users/yanghyejin/.rbenv/versions/2.6.6
Downloading ruby-2.6.6.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.6.tar.bz2
Installing ruby-2.6.6...
ruby-build: using readline from homebrew
BUILD FAILED (macOS 12.5.1 using ruby-build 20220825)
Inspect or clean up the working tree at /var/folders/zr/x6qshmlj62n5ddw390f70yw40000gn/T/ruby-build.20220904231335.38826.a7quN7
Results logged to /var/folders/zr/x6qshmlj62n5ddw390f70yw40000gn/T/ruby-build.20220904231335.38826.log
Last 10 log lines:
return document->nodes.top - document->nodes.start;
~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
18 warnings generated.
linking shared-object stringio.bundle
5 warnings generated.
4 warnings generated.
linking shared-object zlib.bundle
1 warning generated.
linking shared-object psych.bundle
make: *** [build-ext] Error 2 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Succeeded with the command below.
|
Beta Was this translation helpful? Give feedback.
-
I had the same issue but with The solution that worked for me was: that I found here: |
Beta Was this translation helpful? Give feedback.
Succeeded with the command below.