Ruby 2.6.0 installation fails on MacOS Mojave and Catalina both. #1845
Replies: 4 comments
-
Here's the full error log as gist. |
Beta Was this translation helpful? Give feedback.
-
I noticed the same issue on another app of mine with ruby 2.5.1 and rails 5.2.0 as well. Has something to do with 32/64 bit machines and the gems that seem to pick the bug up are:
I posted the issue on stack overflow. |
Beta Was this translation helpful? Give feedback.
-
Getting this trying to install 2.7.0 on macOS 10.14.6 (Mojave)... |
Beta Was this translation helpful? Give feedback.
-
It looks like the issue is with building openssl, try installing openssl as suggested in the wiki: $ brew install openssl libyaml libffi
$ export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])"
$ rbenv install 2.6.5 Currently, ruby-build doesn't look for homebrew openssl so the above solution might work by explicitly telling it to do so. |
Beta Was this translation helpful? Give feedback.
-
Here's the question on SO with logs pertaining to Mojave. The ones below pertain to MacOS Catalina:
Read somewhere that someone has pushed in C++ code on a plain C program somewhere. Don't know how much of that is true.
Beta Was this translation helpful? Give feedback.
All reactions