日期:2014-05-16  浏览次数:20770 次

mysql2安装失败in ubuntu
> gem install mysql2

Building native extensions.  This could take a while...
ERROR:  Error installing mysql2:
    ERROR: Failed to build gem native extension.

============8<=============
使用gem 安装 mysql2前,需要先安装  libmysqlclient-dev :

>sudo apt-get install libmysqlclient-dev
>gem install mysql2

Just try!




FromLehazi