Green’s Dictionary of Slang

gear adj.2

[gear n. (4) + rhy. sl. = queer adj. (5)]

[1930s+] homosexual.