Installing mysql2 Ruby gem on 10.8.4 with a home-brew install may raise the following error:
mysql.h is missing. please check your installation of mysql and try again.
Removing the following options from cflags in mysql_config vim `which mysql_config`
resolved the issue:
-Wno-null-conversion -Wno-unused-private-field