Monday, August 19, 2019

mysql2 gem problems on Mac

https://github.com/brianmario/mysql2/issues/1005

commented on 26 Oct 2018

To fix for a manual gem install:
brew install openssl
gem install mysql2 -- --with-opt-dir="$(brew --prefix openssl)"
To fix for all bundle installs:
brew install openssl
bundle config --global build.mysql2 --with-opt-dir="$(brew --prefix openssl)"
bundle install

No comments:

Post a Comment

Followers

Blog Archive