Ruggles and the 5th Infantry, under command of Lt. Col. James S. McIntosh, were part of the 2nd Brigade under Col. David E. Twiggs. Participating in the Texas Campaign Ruggles fought in the battles of Palo Alto and Resaca de la Palma; his solid services securing him a promotion to Captain on June 18, 1846.