Even if at first they make you gassy, beans are so health promoting that you should experiment with ways to keep them in your diet at all costs. Lentils, split peas, and canned beans tend to produce less gas, and tofu isn’t usually an offender. Repeated soakings of dried beans in water containing a quarter teaspoon of baking soda per gallon57 and tossing out the cooking water may help if you boil your own beans. Of the spices that have been tested, cloves, cinnamon, and garlic seem to be the most gas reducing, followed by turmeric (but only if uncooked), pepper, and ginger.