Green’s Dictionary of Slang

gum n.4

[Scot. gum, the palate]

(Irish) a taste for, a desire.

[Ire]R. Doyle Van (1998) 410: He’d be going past a pub in town and he’d have the gum for a pint.