Ensure database.yml is there before bundle

This allows application like Redmine that looks at which database is
configured in database,.yml before including the dependency in Gemfile.