oven will not light

I have a kenmore gas range, when I try to light it the ignitor glows, there is a slight smell of gas but the burner never lights. Is my problem the ignitor or the safety valve. I had this problem on an older kenmore and it turned out to be the ignitor. Both parts are exspensive so I want to get it right the first time.