Are you sure your blood sugar was running low, and not that you were behind on fluids? Three or four hours (I'm guessing, obviously) is longer than I can ride in the summer with just the fluids I carry on the bike. You might need to drink more, or add some salt. If there's a convenient store with V-8, that fills the bill, though you'll also want more water to wash it down.