reinstalled ruby, pg gem now working