CentOS7.2でMariaDBを削除してMySQLをいれた後に出たエラーの対処
rake aborted! Bundler::GemRequireError: There was an error while trying to load the gem ‘mysql2’. Gem Load Error is: Incorrect MySQL client library version! This gem was compiled for 5.5.50-MariaDB but the client library is 5.6.33.
mysql2
のgemを一度消して、再度いれれば良さそう。
$ bundle exec gem uninstall mysql2 $ bundle
動きました。