Fixing mysql2 gem issues