“Incorrect MySQL client library version”
问题 I'm getting the following error when running rake assets:precompile Incorrect MySQL client library version! This gem was compiled for 5.6.10 but the client library is 5.5.12. MySQL is installed using Homebrew and is version 5.6.10. I can connect to the database on 127.0.0.1 locally. I've tried the following with no luck: ARCHFLAGS="-arch x86_64" gem install mysql2 -- –with-mysql-config=/usr/local/bin/mysql_config It seems that advice is for folks whose "client library" is newer than the one