mysql2 gem fails to compile with MySQL 5.6.12 on OS X with Homebrew

前端 未结 7 1143
刺人心
刺人心 2020-12-04 23:41

I updated all the packages I installed with Homebrew. MySQL got upgraded to 5.6.12 (from 5.5.27 or so):

$ mysql --version
mysql  Ver 14.14 Distrib 5.6.12, fo         


        
7条回答
  •  無奈伤痛
    2020-12-05 00:38

    I would recommend this answer instead: mysql2 gem fails to compile with MySQL 5.6.12 on OS X with Homebrew

    The problem is with the compiler settings in Homebrew's version of MySql. Original answer found here: http://www.randomactsofsentience.com/2013/05/gem-install-mysql2-missing-mysqlh-on-os.html

提交回复
热议问题