Ruby 2.4.1 build failed on macOS High Sierra 10.13.2 #2313
Replies: 16 comments
-
I'm experiencing nearly the same symptoms,
it will hang here indefinitely until I kill the process. |
Beta Was this translation helpful? Give feedback.
-
Did anyone find a solution for this? I'm getting same error |
Beta Was this translation helpful? Give feedback.
-
Getting the same issue too. Any luck, @GPreiss? |
Beta Was this translation helpful? Give feedback.
-
@briankabiro I tried what felt like everything (this might work for you, if it;s an rbenv issue, and you haven't tried it yet>>> #377 (comment) . It didn't work for me though. ) In the end, I installed an Ubuntu environment via VirtualBox. It's not ideal, and I'm still looking for suggestions to make rbenv and ruby compatible with High Sierra, but it's a filler for now... Please let me know if you find anything that helps you! |
Beta Was this translation helpful? Give feedback.
-
Okay, no problem. I'll look into it and see. I'll also let you know if I find anything. 😃 |
Beta Was this translation helpful? Give feedback.
-
@GPreiss solution with |
Beta Was this translation helpful? Give feedback.
-
It looks like you're having problems with ruby-build, which is the plugin that provides
|
Beta Was this translation helpful? Give feedback.
-
I have had the same issue but I am able to fix it by doing the following steps:
|
Beta Was this translation helpful? Give feedback.
-
I was able to install Ruby 2.5.3 with this. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue:
... with the exact error being:
I tried everything in this thread, but to no avail. The fix was to uninstall ... the irony being that I switched from I guess I should be thankful that it's never been the case that both of them have an issue with |
Beta Was this translation helpful? Give feedback.
-
I had the same issue and here is how I fixed it (thanks to a lot a googling)
then follow the installation until the end (next, next, next,...)
|
Beta Was this translation helpful? Give feedback.
-
@thegreyfellow this seeeeeems to be working? 🤞 I'm not getting errors about "cross compiling C programs" and "--host" flags anymore, but my fans are going crazy and it's stalled at Update: OMG it worked! Took for EVER to run, though... |
Beta Was this translation helpful? Give feedback.
-
@cglotr Your comment helped me get things running smoothly for me. Many thanks! |
Beta Was this translation helpful? Give feedback.
-
Its almost 2020 and still I got this error. This is how I solved itFirst run $ brew uninstall openssl
$ brew --prefix openssl
$ sudo mv /usr/local/include /usr/local/include_old
$ rm ~/.rbenv Add path found with
Open new terminal or source RC file
|
Beta Was this translation helpful? Give feedback.
-
I had this problem in 2020 @trackq but your comment saved me. The only last thing I would add is: don't forget to add it to your .bash_profile:
|
Beta Was this translation helpful? Give feedback.
-
just need to pass the flag for OpenSSL 1.1, i.e. on Mac with openssl1.1 installed with brew: ruby-install 2.5.1 -- --with-openssl-dir=/usr/local/opt/[email protected]/ With rbenv would be similar to this: RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/opt/[email protected]/" rbenv install 2.5.1 |
Beta Was this translation helpful? Give feedback.
-
Struggling with getting rbenv up and running on my mac:
macOS 10.13.2
rbenv 1.1.1
OpenSSL 1.1.0g 2 Nov 2017 (tried different without specifying 1.1 as well)
curl 7.57.0
rbenv, curl, openssl - all in PATH
Tried all solutions listed above - nothing helped.
Any suggestion?
Beta Was this translation helpful? Give feedback.
All reactions