Rails mysql2.so (LoadError) After ubuntu Upgrade

mysql2.so (LoadError)

From shell, You will need to run the following to as your user correct the issue:

gem uninstall mysql2

To uninstall the problem Gem, then:

bundle install

(will automatically install needed Gems)

(if that does not work) you can run the gem install directly

gem install mysql2 

Refresh your page and you should be working again.