reinstalled ruby and pg gem