Green’s Dictionary of Slang

gym v.

[? dial. gan, to walk]

(UK Und.) to travel to or gain admission to, without paying the full charge; often of a racecourse.

[UK]F.D. Sharpe Sharpe of the Flying Squad 222: ‘I gymmed up to Doncaster,’ says a spiv.