Skip to content

Instantly share code, notes, and snippets.

@puppycodes
Created January 11, 2019 19:12
Show Gist options
  • Save puppycodes/105b02ca3af4d7a1f58ba50cba9bb92e to your computer and use it in GitHub Desktop.
Save puppycodes/105b02ca3af4d7a1f58ba50cba9bb92e to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment