Last active
January 14, 2022 06:46
-
-
Save mupkoo/d038a3e578f83897e1b8974a41bb3281 to your computer and use it in GitHub Desktop.
M1 Pro problems and how to fix them
This file contains hidden or 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
# Use the following command to install Ruby 2.6.6 | |
# The other 2.6 version might need this as well | |
set -gx optflags "-Wno-error=implicit-function-declaration" | |
set -gx LDFLAGS "-L/opt/homebrew/opt/libffi/lib" | |
set -gx CPPFLAGS "-I/opt/homebrew/opt/libffi/include" | |
set -gx PKG_CONFIG_PATH "/opt/homebrew/opt/libffi/lib/pkgconfig" | |
asdf install ruby 2.6.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment