Upgrading gems to pg