setup database.yml for travis ci, fix double rake gem issue