Skip to content

Instantly share code, notes, and snippets.

@santouras
Created June 6, 2021 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save santouras/2c52faf787097a1b2317e9dd2639fffb to your computer and use it in GitHub Desktop.
Save santouras/2c52faf787097a1b2317e9dd2639fffb to your computer and use it in GitHub Desktop.
m1 mysql installation
brew install mysql
gem install mysql2 -- \
--with-mysql-lib=$(brew --prefix mysql)/lib \
--with-mysql-dir=$(brew --prefix mysql) \
--with-mysql-config=$(brew --prefix mysql)/bin/mysql_config \
--with-mysql-include=$(brew --prefix mysql)/include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment