NEW YORK -- Three long balls and a healthy Hyun-Jin Ryu made it a gratifying night for the Dodgers.
Ryu (4-2) came off the disabled list and pitched the Dodgers to their 11th victory in 12 meetings with the Mets dating to July 1, 2012. Ramirez drove in two runs and Los Angeles enjoyed most of the vocal support from the 23,721 fans at Citi Field, many of whom turned out to cheer Ryu.
"I was faithful to my rehab and what the trainers told me. I felt good. I felt ready, mentally," Ryu said through a translator. "I'm glad to be back and eager to get the team going in a winning direction."
The lefty from South Korea, sidelined since late April with shoulder inflammation, went six innings and improved to 4-0 in five starts away from home this season. His return means the Dodgers have all five members of their projected rotation healthy together for the first time all year.
"Like he was never on the DL at all," catcher A.J. Ellis said. "He was in razor form, and total command of all his pitches."
Eric Campbell hit his first major-league home run for the sputtering Mets, who fell to 5-14 in May with their sixth loss in seven games. David Wright, Juan Lagares and Wilmer Flores each had three of New York's 13 hits.
Los Angeles managed only five -- but all of them went for extra bases.
"Who needs singles, right?" Ellis said.
Jacob deGrom (0-2) gave up three solo home runs over six innings in his second big-league start. Pitching in place of injured Dillon Gee, the shaggy-haired righty wasn't quite as effective as last Thursday, when deGrom went seven innings in a 1-0 loss to the New York Yankees.
Campbell hit a two-run shot in the sixth, when the Mets finally got to Ryu with four hits. Chris Young's double-play grounder prevented what could have been a much bigger inning.
Ryu had thrown 33 consecutive shutout innings on the road since Sept. 24, 2013, at San Francisco.
"The guy's a workhorse. When it's his time to pitch, he prepares himself better than a lot of people that I've seen," Dodgers reliever Brian Wilson said. "He knows what he's doing."
Brandon League protected a 3-2 lead in the seventh, retiring Young with runners at second and third to end the inning. Wright's two-out double squirted a few feet behind a diving Puig in right, but Murphy didn't appear to be running hard all the way and was held up at third base.
Los Angeles added an insurance run in the eighth when the Mets botched an opportunity for an inning-ending double play. Pinch-hitter Chone Figgins had a leadoff double against Jeurys Familia and scored on Ramirez's comebacker with runners at the corners.
"I got a little confused because I didn't want to throw it away," Familia said.
Wilson worked a scoreless inning and Jansen got three outs for his 13th save in 15 attempts.
Gonzalez hit a home run into the second deck in right field leading off the second, his 12th of the season. The slugger hit a two-run shot in the series opener Tuesday night and has nine hits in his past 16 at-bats.
"I went where I wanted to go with the high fastball. He caught up to it," deGrom said.
It's the third time this season Gonzalez has gone deep in at least three consecutive games.
Puig sent a solo drive to left-center in the sixth for his 10th of the year and Ramirez followed with his seventh, the second time the Dodgers have gone back-to-back this season.
Puig has hit safely in 18 of his past 19 games, batting .408 with seven home runs and 23 RBI during that stretch. He was the NL co-player of the week last week.
Ryu scattered five hits over the first five innings and struck out Curtis Granderson with the bases loaded to end the third. That left the Mets 6 for 41 (.146) with the bags full this season.
League hasn't allowed an earned run in 21 1/3 innings over 14 outings since April 16. ... Gonzalez and Andre Ethier hit consecutive home runs April 4 against San Francisco. ... Los Angeles placed 3B Juan Uribe (strained right hamstring) on the 15-day DL. Justin Turner started at 3B and went 0 for 4 against his former team. ... Lagares returned from the Dominican Republic and was back in the lineup after missing Tuesday night's game because of a death in the family. ... A college shortstop, deGrom singled to start the fifth and has the only two hits for Mets pitchers in 74 at-bats this season. ... LHP Jonathon Niese (2-3, 2.54 ERA) faces Dodgers RHP Zack Greinke (7-1, 2.03) in the series finale Thursday night.