You could ask around who his past relationships have been with?
Or ask him questions like “So, are you seeing anyone?” or point out a hot girl and see how he reacts. Something like that, so your not just flat out asking him if hes gay, but you can make your assumptions based on what he says.