Updated GEM to use PostgreSQL.