Skip to content

Instantly share code, notes, and snippets.

@onigra
Last active April 1, 2020 06:10
Show Gist options
  • Save onigra/7b566efd51d8839c8016f2ae7b7dd85b to your computer and use it in GitHub Desktop.
Save onigra/7b566efd51d8839c8016f2ae7b7dd85b to your computer and use it in GitHub Desktop.
rails mysql2 nokogiri ビルド 方法 最強
bundle config --global build.mysql2 --with-opt-dir="$(brew --prefix openssl)"
bundle config --global build.nokogiri --use-system-libraries --with-xml2-include=$(brew --prefix libxml2)/include/libxml2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment