Skip to content

Instantly share code, notes, and snippets.

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