mysql2 gem fails to compile with MySQL 5.6.12 on OS X with Homebrew
I had the same problem, I managed to fix it. I did a lot of things, and I don’t know for sure what it was, but going to MySQL 5.6.10 seems to have worked. Uninstall MySQL 5.6.12: brew unlink mysql brew uninstall mysql Go to the homebrew directory: cd /usr/local Go to version 5.6.10 (you … Read more