Skip to content
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