rbenv install 2.7.2 BUILD failed #1864
Replies: 7 comments
-
Having the same issue on macOS 11.2.3 on Apple Silicon. |
Beta Was this translation helpful? Give feedback.
-
same here, I have this error |
Beta Was this translation helpful? Give feedback.
-
I'm the same.
|
Beta Was this translation helpful? Give feedback.
-
I had no luck with reinstalling command line tools, configuring openssl, reformatting, etc. but pausing my anti-virus got it working for me. Hopefully saves someone else a few hours of head scratching. |
Beta Was this translation helpful? Give feedback.
-
@garveycodes Thanks! Turning off anti-virus was the solution for one of our engineers as well. Sohpos is what they were running. |
Beta Was this translation helpful? Give feedback.
-
Suspending my VPN allowed me to install 2.7.2. |
Beta Was this translation helpful? Give feedback.
-
This resolved the issue for Linux:
|
Beta Was this translation helpful? Give feedback.
-
I checked rbenv is installed ok:
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
Checking for
rbenv' in PATH: /usr/local/bin/rbenv Checking for rbenv shims in PATH: OK Checking
rbenv install' support: /usr/local/bin/rbenv-install (ruby-build 20210405)Counting installed Ruby versions: none
There aren't any Ruby versions installed under `/Users/myname/.rbenv/versions'.
You can install Ruby versions like so: rbenv install 2.2.4
Checking RubyGems settings: OK
Auditing installed plugins: OK
Here is what happens:
% rbenv install 2.7.2
Installing openssl-1.1.1j...
Installed openssl-1.1.1j to /Users/myname/.rbenv/versions/2.7.2
Downloading ruby-2.7.2.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.bz2
Installing ruby-2.7.2...
ruby-build: using readline from homebrew
BUILD FAILED (macOS 11.2.3 using ruby-build 20210405)
Inspect or clean up the working tree at /var/folders/t3/29rsxx6s4pn3x21y1x3nqdpc0000gn/T/ruby-build.20210407161251.50329.vjt7f4
Beta Was this translation helpful? Give feedback.
All reactions