A day after watching Jenrry Mejia start off well and then implode in the latter innings, on Sunday Mets starter Dillon Gee closed the deal. He got Miami down and never let off the jugular, hurling eight shutout innings and pitching the Amazin’s to a 4-0 win before 26,861 at Citi Field.

The Mets (14-11) head out on a three-city, nine-game road trip Tuesday feeling good about themselves and having won six of their last eight. And they won this last one thanks to a sterling effort by Gee, who has been one of baseball’s most effective pitchers since last May. Gee (2-1) scattered three hits in his eight shutout innings, walking four and striking out six to lower his ERA to 2.88.

The right-hander came in with the fourth-lowest ERA in the majors since last May 30, and after shaving that to 2.75, he didn’t disappoint. Carlos Torres pitched the ninth inning in a non-save situation. The Mets got a run in the first and three more in the fifth, and Gee saw to it that was more than enough.

During the bottom of the second, Lucas Duda laced a ball just inside the left field line and bouncing into the stands for a ground rule RBI double. Daniel Murphy came around to score, but Chris Young — who had been hit by a pitch — was held at thi, and eventually stranded there. Anthony Recker fanned, shortstop Ruben Tejada popped out to second and — after Gee worked a full-count walk — Eric Young Jr. grounded out to second.

But Gee kept the Marlins off the board, thanks to some nice fourth-inning defense, David Wright running full-tilt into foul territory for an over-the-shoulder catch on Casey McGehee and sliding right in front of the tarp in left field. Gee wisely walked Jarrod Saltalamacchia, fanning Garrett Jones to strand two men on.

The Mets turned around and plated three in the fifth. Wright doubled to left, a one-hopper off the base of the wall to plate Curtis Granderson. It was Wright’s 11th RBI in his last 14 games, and a rare extra-base hit for the third baseman who had shown plenty of contact but little power.