rbenv install 3.0.4
fails on macOS 13.3.1
#2185
-
I've tried to install ruby 3.0.4 through rbenv with the command:
To fix the OpenSSL error, I've tried these methods:
These methods were indicated in this Github dicussion. None of these methods resulted in a successful build. Please let me know if there is a way to build ruby successfully. Here is my configuration:
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 45 replies
-
Ruby 3.0 didn't support OpenSSL 3.x. Try |
Beta Was this translation helpful? Give feedback.
-
I'm running into almost the identical issue for installing ruby 3.0.6 and the answer above doesn't resolve my issue. When I run:
I get:
I followed the steps here: https://github.com/rbenv/ruby-build/wiki#macos to get setup. Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
-
Hello, Using XCode14
Reinstalled libyaml, libffi, readline, gmp and [email protected] And after that installing [email protected] is failing
Here are last few lines from log
complete log can be found at https://gist.github.com/sudeeptarlekar/782fe0f289bae491dc8a284bba4f5633 Tried installing Ruby3 with openssl@3, but not able to install that either. Let me know if you need more information from my end. |
Beta Was this translation helpful? Give feedback.
-
I fix the issue brew link --overwrite [email protected] |
Beta Was this translation helpful? Give feedback.
-
None of the solutions work for Sonoma 14.0. I'm facing it in CircleCI, GitHub actions and locally.
|
Beta Was this translation helpful? Give feedback.
-
I was trying to install ruby 3.0.6 on Sonoma 14.3.1 using rbenv:
Does anybody have suggestions how to fix these? |
Beta Was this translation helpful? Give feedback.
-
Had the same issue, and fixed it by pointing to my installed
|
Beta Was this translation helpful? Give feedback.
-
I'm running into a similar issue but nothing above worked so far. I recently upgraded my Mac from an Intel to a M3 chip. And I transferred everything using the Mac's Migration Assistant. I reinstalled my ruby, rbenv, ruby-build, libyaml, openssl, cocoapds, psych using brew Somehow now the cocoapods is using the new Ruby version installed by brew. But apparently, gem is still using the old one (2.6.0). So when I try running I tried installing rbenv and installing any version of ruby to change the system one but then the error bellow happens
|
Beta Was this translation helpful? Give feedback.
-
after much struggling, this is what worked for M1 on Sequoia, i did used |
Beta Was this translation helpful? Give feedback.
I ran these exports and rbenv built ruby successfully: