moved a rails app of mine onto a new server and had to install a few gem dependencies. However, after installing the mysql gem I get the error, uninitialized constant Mysql
gem uninstall mysql gem install mysql -v 2.7 -- --with-mysql-config=/usr/local/mysql/bin/mysql_config ldconfig /usr/local/mysql/lib/mysql RAILS_ENV=production rake db:migrate --trace
This worked for me.