Created
April 22, 2018 15:12
-
-
Save abhionlyone/6df2fd1c5d5c7f9dc5a1fcd868d07b80 to your computer and use it in GitHub Desktop.
Fix mysql2 gem installation error on mac
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
brew install openssl | |
bundle config --local build.mysql2 "--with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment