modify gemfile to set database config