The canned answer is, "The other 11 months of the year are White History Months."
This answer has become trite at this point, but the argument at its core remains valid. Unfortunately, there are serious biases in our society. Correcting those biases is a worthy goal, and one we should pursue. In the mean time, we can use Black History Month and Ruby Workshops for Women to compensate for the biases and at least try to treat the symptoms.
Spending 2 years engaging in non-development activities (by choice) is not limited to women.
Biking around India: a non-development activity undertaken by choice.
Therefore:
We should all support paid family biking-around-India leave.
The logic is unimpeachable!
In any case, your mention of circumstances that could apply to people of any gender is a red herring. It's a workshop for women, not a workshop for people returning to the dev workforce after a 2 year hiatus.
I'm offering a reason why a men-only RoR workshop would be offensive when a women-only RoR workshop isn't. A RoR workshop for people returning from long trips abroad also wouldn't be offensive, although the equivalence you imply between the two ideas is weak.
Former-long-term-traveler-only RoR workshops are not offensive, though they are a bit silly.
Women-only RoR workshops are not offensive, and I don't think they're silly either.
"Yeah, but I mean, if I took up a sudden interest in crocheting or something and the best way to get connected and start learning was to go to a crocheting convention that's 99% female, I'd feel a little awkward/discouraged."
Bringing more women into the profession is a good thing. Having the woman in my life able to throw down in jQuery and even sometimes beat me on pentests is a good thing; you have no idea how much easier it is to build a company with your spouse.
Let's find something else to get all huffy about.
Let's just not do it.
There's a subtle but fundamental difference in those two messages.
There are far too many grants/scholarships/opportunities that are explicitly only open to women or minorities (I'm a minority and it still bothers me). A hypothesis of implicit discrimination against group A does not justify explicit discrimination against group B.
This happens all the time in the tech (and Math/Science) community and it really bothers me. This workshop in particular is one that I would have liked to attend, but am being excluded from because of my gender.
Frankly, I don't know any women who would be interested in attending a 2-day RoR workshop so I can't go as a 'guest' - and I don't think that is too unusual.