I had gophers up the wazoo a couple years ago. Front yard, side yard back yard, you name it, they were there. Tried all kinds of stuff, from traps to bombs.
This is what finally got 'em...
From what I understand, they love the smell so eat it voraciously. Problem is, they can't digest the gum so it clogs up their insides and they just die.