Use mysql2 instead of ruby-mysql on production
Fix timing of replacement database.yml