An error occurred while installing mysql2 (0.5.3), and Bundler cannot continue. macbook code example
Example 1: An error occurred while installing mysql2 (0.5.3)
$ bundle config --local build.mysql2 "--with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include"
Example 2: An error occurred while installing mysql (2.9.1), and Bundler cannot continue
gem install mysql -v '2.9.1' -- --with-cflags=\"-I<openssl_path>/include\" --with-ldflags=\"-L<openssl_path>/lib\"