switching to postgres and updating ruby