Fix mysql2 gem version
update base configurations