applying database.yml and bundler