updated gem file & db.yml.tmpl for postgreSQL