In the last few years I have heard many people say that in you have the ridge vents, then you should cover up the gable vents. If not, it can disrupt the whole flow of air in the attic. The ridge vent works much better than the gable vents. Since you are having the roof done anyways, it is not an expensive addition. I would go into the attic afterwards and close up the gable vents with plywood. Doesn't have to be 100% sealed, just enough to stop large air movement.