Install pg gem prior to configuring master