Chewing gum are quite a common mess on the carpet, but this can be removed in several ways. These include:

A plastic bag of ice
Place the ice bag on the chewing gum to freeze it.  Have a knife, preferably a butter knife. This is because it’s blunt and won’t damage your carpet. Use the knife to scrape the frozen gum off the carpet, then clean over any remaining fragments.

Vinegar is your ultimate cleaning agent. Have a solution of white vinegar in a container. To make, add four teaspoons of vinegar to 1 cup of water. Dip a rag in the solution, then carefully and gently rub the rag on the spots to which the gum has stacked. This may take about 15-20 minutes to make the gum saturated with the vinegar solution.

After the gum has eased off and you have removed it, use a thick dry towel to dry the area. Avoid contact with this part till you are completely sure its dry of the soapy solution.

Peanut butter
You might be wondering how this delicacy can be used. Yes, it can serve you right. The butter has natural oils that do work by dissolving the gum on carpets or fabrics. Take a bit of peanut butter using your gloved fingers and apply and rub it on the chewing gum. Please do not do it once but a couple of times. After applying gently, work the butter on the gum to ease it of use a butter or dinner knife to scrape of the gum from the carpet till it gum is off.

After this, you may now brag about your sparking chewing gum-free carpet.