The best way to keep gluten-free cake mix from getting gummy is to use a gluten-free flour blend that contains xantham gum, let the cake batter rest for 30 minutes before baking, and stir the cake mix for an extra few stirs to help develop a delicate but still moist crumb.