While gestational diabetes can happen to anyone that is pregnant it is far more likely to happen in someone who was overweight before the pregnancy.  Further evidence for this is the increased occurrence of gestational diabetes in countries with a more overweight population.