Project

General

Profile

Actions

Mysql2 auf MacOS Catalina

mysql (aka mariadb) uses openssl that is installed per homebrew.
configure it to use this openssl:

gem install mysql2 -v '0.4.10' -- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include

oder per bundler konfigurieren:

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

Updated by Martin Meier about 5 years ago · 2 revisions