Nearly 2,000 people were evacuated from a rural community north of Mexico City due to a gas leak, the Associated Press reported.