To remove chewing gum from fabric - place in freezer or place block of ice over fabric. When gum has hardened sufficiently, peel off gently taking care not to rip fabric. Hardened gum should lift off fabric.
Remove chewing gum from carpeting by using ice cubes to help. Freeze up the gum with the ice; it will turn very hard, and you can pick the gum out of the carpet fibers much more easily.