The Colonial Pipeline, which carries fuel from Texas to New York, ruptured last fall, dumping a quarter-million gallon of gas in rural Alabama. By the time the leak was detected during routine inspection, vapors from released gasoline were so strong they prevented pipeline repair for days. Now, scientists are developing technology that would alert pipeline managers about leaks as soon as failure begins, avoiding the environmental disasters and fuel distribution disruptions resulting from pipeline leaks.