TROY — A ruptured gas line prompted the evacuation of homes in the vicinity of Ingalls and Seventh avenues on Thursday.

The line was punctured by digging, police said, though it was not immediately clear who had been doing the work.