The ball glanced off the end of the glove of Braves left fielder Garret Anderson before caroming to the wall, scoring Raul Ibanez and Pedro Feliz. Ruiz finished 3-for-3 with two doubles for the NL-East leading Phillies (75-53).
Atlanta (68-62) got a run back in the eighth on Chipper Jones' RBI single, but Scott Eyre came on in relief of Ryan Madson and got out of a two-on, no-out jam unscathed. Brian McCann grounded into a double play and Anderson grounded out to second.
Phillies shortstop Jimmy Rollins made a heads-up play on the double play, taking the relay from second baseman Chase Utley and throwing to third to force out Martin Prado. It was a stellar defensive night for Rollins, who opened the game with a diving catch off Matt Diaz's liner and made a strong play later in the frame on a liner up the middle by Yunel Escobar.
Jair Jurrjens (10-9) continued his impressive 2009 campaign, making it 21 of 28 starts allowing two earned runs or less. But the Braves couldn't muster enough offense for the right-hander, who has seen that trend repeat itself this season. Jurrjens pitched seven innings, allowing three runs - two earned - on seven hits while striking out two and walking two.
Brad Lidge pitched a scoreless ninth for his 27th save. Lidge has blown an MLB-leading nine saves this year.
Prior to the seventh, homers by the Braves' Prado, in the first, and the Phillies' Utley, in the fourth, accounted for the scoring.
NOTES: Philadelphia's Matt Stairs struck out pinch-hitting in the seventh, making him 0 for his last 27 at-bats. Braves right-hander Tim Hudson makes his first start of the season Monday at Florida. Hudson had Tommy John surgery last Aug. 8.