Remove Active-record-postgres gem that was causing sql error