gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

出现-lprobes_mysql错误。

重新编译mysql,关闭ENABLE_DTRACE,成功!