Ripley was born in Hanover, New Hampshire. He was the grandson of Eleazar Wheelock, the founder of Dartmouth College, and the nephew of John Wheelock, the college's president. His father, Sylvanus, taught at Dartmouth in the 1780s, and Eleazer graduated from the school in 1800. Ripley practiced law in Kennebec County, Maine, and Portland, Maine. He served in the Massachusetts House of Representatives from 1810 to 1811, and was elected to the Massachusetts Senate in 1812. In August 1812, following the outbreak of the War of 1812, he organized the 21st United States Infantry Regiment, and was given the rank of lieutenant-colonel. He was promoted to colonel in March 1813. Most of the regiment's soldiers came from Massachusetts and Maine. Soldiers from the regiment took part in several battles, including York, Sacketts Harbor, Crysler's Farm. In April 1814, Ripley was promoted to Brigadier General. Ripley was appointed to command the Second Brigade of Major General Jacob Brown's Left Division on the Niagara River. At the Battle of Lundy's Lane, Ripley's brigade captured and held the British guns until the American withdrawal. However, he was blamed by Brown for losing the guns during the withdrawal and later demanded a court martial to clear his name. Ripley briefly commanded Brown's division during the Siege of Fort Erie after Brown was wounded at Lundy's Lane, but was superseded by Brigadier General Edmund Pendleton Gaines. He was conspicuous in the repulse of a British assault on August 16, and in an American sortie on September 17, in which he was wounded. Ripley was awarded the Congressional Gold Medal, the precursor to the Medal of Honor, for his wartime service. He moved to Baton Rouge, Louisiana, in 1815, and left the army in 1820 to continue his career in politics. He served as a United States Representative from Louisiana's Second District from March 4, 1835 to March 2, 1839. He was the subject of a United States Supreme Court decision, United States v. Ripley. As a result of this decision, Ripley owed the United States a sum of money that he had expended while serving as a Major General by brevet. The building involved in the lawsuit is the oldest building in Uptown New Orleans.