Created
October 12, 2021 13:31
-
-
Save ybiquitous/85c3a0287d0ed4213a272f8f39bb6b03 to your computer and use it in GitHub Desktop.
Install mysql2 gem on M1 mac
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
brew install openssl | |
brew install mysql | |
bundle config set --local build.mysql2 "--with-opt-dir=$(brew --prefix openssl)" "--with-ldflags=-L$(brew --prefix zstd)/lib" | |
bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment