Failing to install 2.7.3 on MacOS #2320
Answered
by
rctneil
rctneil
asked this question in
Build failures
-
Hi, I'm trying to install 2.7.3 on macOS 14.1.1 and using ruby-build 20231114. Could someone help me get this installed? The end of the log file looks like:
|
Beta Was this translation helpful? Give feedback.
Answered by
rctneil
Dec 7, 2023
Replies: 1 comment 10 replies
-
There are several things going on here:
If you're specifically trying to install 2.7.3 because that's the version used by the project you're trying to run, I recommend updating your project to at least 2.7.8, and then start planning the upgrade to 3.1, and then 3.2. Here's a detailed guide I wrote that explains why and how to upgrade the Ruby version in your project. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mislav Ok, got it! Installed successfully. The command missed the word 'ruby' before the version number. Not a complaint! I should have read it through before just copying and pasting!
Command that worked:
PKG_CONFIG_PATH="$(brew --prefix [email protected])/lib/pkgconfig" RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])" asdf install ruby 2.7.3
I will double check that that ruby version fully works later this evening and report back. Thankyou so much!