LoginSignup
2
3

More than 5 years have passed since last update.

macOS 10.4 Mojave環境でbundle install mysql2が通らない

Posted at

パスを指定してあげることで通るようになる模様。

$ bundle config --local build.mysql2 "--with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include"

参考

Gem native extension build fails after upgrade to MacOS 10.4 Mojave
https://github.com/brianmario/mysql2/issues/1005

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3