Officials say a natural gas pipeline ruptured and burst into flames in southern Wyoming, setting fire to a freight train and lighting up the night sky with a glow visible to the south in Colorado.