Created
March 12, 2024 01:30
-
-
Save Bivek/3c470ed9153d6a099870019ef469bd85 to your computer and use it in GitHub Desktop.
MySQL Gem Install Workaround
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
# Getting clang error while installing mysql gem in macos | |
# Try this it might solve your issue or try trinity gem instead | |
gem install mysql2 -v '0.5.5' -- --with-mysql-config=$(brew --prefix mysql)/bin/mysql_config --with-ldflags="-L$(brew --prefix zstd)/lib -L$(brew --prefix openssl)/lib" --with-cppflags=-I$(brew --prefix openssl)/include |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment