Facing issues while installing ruby 2.3.7 in macOS 14.7 on x86_64 using ruby-build 20241225.2 #2492
-
I'm having issues with installing ruby 2.3.7 in my mac |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
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