Rails6で、下記が出た時の対処
An error occurred while installing mysql2 (0.5.3), and Bundler cannot
continue.
下記を実行する。
$ bundle config --local build.mysql2 "--with-cppflags=-I/usr/local/opt/openssl/include"
$ bundle config --local build.mysql2 "--with-ldflags=-L/usr/local/opt/openssl/lib"
再度bundle installをする
$ bundle install