Make the practice race-realistic
Use the exact products, flavors, and bottle concentrations you are going to race with. A gut that is trained on one gel can still turn on a different brand at mile 60. Rotate sweet and savory too, so palate fatigue does not stop you from eating.
Eat small amounts on a steady timer, every 15 to 20 minutes, not big doses once an hour. Little inputs often empty and absorb a lot easier than one big slug of calories that just sits in your stomach. And practice in heat and on the climbs, because both of those shrink how much your gut will take.