Depends on that long ride. For riders who just want to go on a long ride for recreation, it doesn't matter that much. But if that long ride means being in the "A Group" and averaging 25 mph, then it's a different demand.
Bonking and cramps, especially when temperatures are high could indicate something else, not particularly figs or gels.