Last active
July 4, 2025 09:59
-
Star
(215)
You must be signed in to star a gist -
Fork
(28)
You must be signed in to fork a gist
-
-
Save fernandoaleman/ee3ac6957c2ba4f7d7d33a251d58b191 to your computer and use it in GitHub Desktop.
Revisions
-
fernandoaleman revised this gist
Apr 14, 2020 . 1 changed file with 6 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,11 @@ For MacOS Catalina, visit [Install mysql2 on MacOS Catalina](https://gist.github.com/fernandoaleman/12698634824f5d5c00ab57b72ee2ad52) # Problem Installing `mysql2` gem errors on MacOS Mojave. # Solution Make sure `openssl` is installed on Mac via Homebrew. ``` brew install openssl -
fernandoaleman created this gist
Oct 2, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ Problem ======================================== Installing `mysql2` gem errors on MacOS Mojave. Solution ======================================== Make sure `openssl` is installed on Mac via Homebrew. ``` brew install openssl ``` Install `mysql2` gem. ``` gem install mysql2 -v '0.5.2' -- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include ```