if he is gay then there is nothing you can do about it.
I spent 7 years alone, and then one day as cliche as it sounds i met someone and it just happened.
in the 7 years i was alone, i would travel all over the uk to parties/meet up with friends etc, and whilst i met many new people through doing this, some of whom are still very good friends with me, i never met anyone to connect with.
but then for some reason i met my current girlfriend (soon to be fiance) and we just clicked.
it is easy to get down when single, but my advice would be enjoy life and when the time is right it will happen.