gem install mysql failing on Ubuntu fix

The problem Did you try something stupid (and expect something hopeful) like: $ sudo gem install mysql Then get something beautiful like: ERROR: While executing gem … (RuntimeError) ERROR: Failed to build gem native extension. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection. Welcome to getting bit by the policy of the Debian packaging […]