Getting the mysql gem installed on Ubuntu
If you’re like me, you’ve gotten the ‘MySQL lost connection’ errors when running rails apps on Ubunutu. And if you’ve tried to apply the common fix - installing the mysql gem - you might not have been able to and have seen an error such as:
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build [...]
