Skip to content

Facing issues while installing ruby 2.3.7 in macOS 14.7 on x86_64 using ruby-build 20241225.2 #2492

Closed Answered by mislav
PrathishE asked this question in Build failures
Discussion options

You must be logged in to vote

Hi, you are attempting to install an ancient Ruby version on a modern macOS machine, and it's most likely that the compilation will fail and that Docker is a better bet.

However, in this instance, the hurdle you ran into is while compiling OpenSSL 1.0, which ruby-build does for compiling Ruby if a suitable system OpenSSL version wasn't found. You could work around this by installing OpenSSL 1.0 before invoking ruby-build. For instructions how to do this with Homebrew and our custom Homebrew tap, see here: https://github.com/rbenv/homebrew-tap?tab=readme-ov-file#installing-ruby-23-or-older-on-macos

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PrathishE
Comment options

Answer selected by PrathishE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants