Run Fueling with IBS

I was diagnosed with IBS a few months ago and am looking for advice going into marathon training for NYC. I have found gels that don’t upset my stomach too badly, but I have yet to venture into pre-run fueling because my gut can be a bit unpredictable. Any advice?