set gem and db for postgresSQL