Skip to content

Instantly share code, notes, and snippets.

@bekicot
Created May 3, 2019 18:27
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 bekicot/3380cb2b53d452916301b9875f190c32 to your computer and use it in GitHub Desktop.
Save bekicot/3380cb2b53d452916301b9875f190c32 to your computer and use it in GitHub Desktop.
Fix mysql2 Open ssl

Method 1

replace 0.3.21 with required version gem install mysql2 -v '0.3.21' -- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include

Method 2

https://stackoverflow.com/a/39628463/3034747 Hava a good feedback but doesn't work on my machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment