Women are unbelievably toxic if they achieve critical mass in a department. I cannot believe the level of petty conflict that my wife endures in her female-dominated PM team; my male-exclusive band of semi-autistic programmers seems like fiddler's green in comparison.
Not totally related but being the one socially adept developer on a team of semi-autistic devs is the absolute worst. I was also the only woman but it wasn't the gender ratio that bothered me as I've been on great all-male teams in the past. But my god is it hard to enjoy your workday when you're the only person on the team with social skills and nobody ever wants to talk to you or go out for lunch occasionally!
Are you sure it's the lack of social skills? Lot of my male colleagues don't socialize with women at work. They are completely normal outside of work. They just don't want to take risks in today's socio-political climate where any interaction is looked through hyper-deconstructed sexism lens.