All students and staff members were moved to a nearby elementary school while firefighters and the gas company investigated, the principal says.