Try taking Beano tablets before eating any foods that might cause gas or bloating. I take 3 tablets before eating any vegetables, whole grains, psyllium, etc. It helps keep the bloating at levels I can handle. Before doing this I would blow up like a balloon a few hours after eating and feel absolutely miserable.
Hope this helps.