To mess up or to ruin something.To make a mistake
if a man crashed while doing a bike trick he might say "Ahh! ganked that trick."