Serving an eviction notice to moles is not as simple as pouring gasoline into their tunnels. That would pollute the groundwater, and could be dangerous to you. Home remedies purported to control moles abound; none is terribly effective. You'll undoubtedly find someone who tried a remedy that "worked." In all likelihood, the moles simply moved on to better feeding grounds, and there was no connection between the supposed treatment and their disappearance. Moles dine on grubs and earthworms that live in the soil. Poison baits are ineffective because the moles are not attracted to the grain-based baits. Reduction of grub populations by applying a natural pest control, such as Grub-Away nematodes, may force the moles to move elsewhere. But it may also cause them to dig with renewed energy to find grubs to feed on.
A retired friend who is an outstanding gardener catches moles in his yard by sitting in the yard early in the morning with a pitchfork in hand. When he sees the moles digging their tunnels, he stabs the ground with the fork, skewering the critters. Grisly, but effective! Assuming that you don't have as much time (or perhaps as good aim) as Bob, you can use traps to kill the burrowing creatures. It can be a tricky process, because the traps must be set in an active runway. If the mole fails to trip the trap within a couple of days of your setting it, move it to a different runway. Trapping is the most effective means of ridding your yard of moles. A proven mole repellent is castor oil, in liquid or dry form. Multiple methods of treatment usually work best in any pest-control situation.