`config/database.yml` should not be checked into the repo. `config/database.example.yml` should be. Please move this file to there and add `config/database.yml` to the `.gitignore`