Born on September 15, 1847, in Massachusetts, Gile was living in North Andover when he joined the Navy. He served during the Civil War as a landsman on the United States Ship Lehigh. On November 16, 1863, Lehigh was in Charleston Harbor providing support for Union troops on shore when the ship ran aground on a sand bar and came under heavy fire from Fort Moultrie.
Several attempts were made to pass a hawser to another Union ironclad, the United States Ship Nahant, but each time the cable snapped due to friction and hostile fire.
Officers were about to give an "abandon ship" order when Gile and two other sailors, Landsman William Williams and Seaman Horatio Nelson Young, volunteered to make one more attempt. Despite intense Confederate artillery fire, the men rowed a small boat from Lehigh to Nahant, trailing a line attached to a hawser.
This operation successfully completed, Nahant was able to tow Lehigh off the sandbar to safety. Gile served on three other ships before leaving the Navy.
On October 20, 1864 he joined the 20th Maine Infantry Regiment as a substitute and remained in that unit until the close of the war.
A father of seven children, Gile died at age 50 on March 19, 1898, in North Andover. He was buried there in Ridgewood Cemetery. His descendants continued the family tradition of military service.