Created
January 30, 2019 07:00
-
-
Save evaldasg/7677a4ab91182bcf7a4295684081d023 to your computer and use it in GitHub Desktop.
Install mysql2 gem when using mysql@5.7 from brew
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
gem install mysql2 -v '0.4.4' -- \ | |
--with-mysql-lib=$(brew --prefix mysql@5.7)/lib \ | |
--with-mysql-dir=$(brew --prefix mysql@5.7) \ | |
--with-mysql-config=$(brew --prefix mysql@5.7)/bin/mysql_config \ | |
--with-mysql-include=$(brew --prefix mysql@5.7)/include |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment