Created
September 29, 2023 20:25
-
-
Save awesome/abb4f92d94f0e2f440bfc33eef58c0b0 to your computer and use it in GitHub Desktop.
ruby-install ruby 3.1.2 FAILED? β FIX π₯π§π οΈ ( macOS Sonoma 14.0 / Intel Core i7)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/rbenv/ruby-build/discussions/2245#discussioncomment-7022979 | |
export LDFLAGS="-L/opt/brew/Cellar/[email protected]/1.1.1v/lib" | |
export CPPFLAGS="-I/opt/brew/Cellar/[email protected]/1.1.1v/include" | |
export PKG_CONFIG_PATH="/opt/brew/Cellar/[email protected]/1.1.1v/lib/pkgconfig" | |
ruby-install ruby 3.1.2 | |
# $ sysctl -n machdep.cpu.brand_string | |
# > Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz | |
# $ sw_vers | |
# > ProductName: macOS | |
# > ProductVersion: 14.0 | |
# > BuildVersion: 23A344 | |
# $ which ruby-install | |
# > /opt/brew/bin/ruby-install | |
# $ ruby-install --version | |
# > ruby-install: 0.9.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment