PITTSBURGH (AP) - The Milwaukee Brewers are playing their best baseball of the season. Now Aramis Ramirez is hoping they have enough time to secure a spot in the playoffs.
Rickie Weeks hit a tying two-run triple and scored the go-ahead run on Ramirez's single, helping Milwaukee rally for a 9-7 victory against the sliding Pittsburgh Pirates on Thursday.
The Brewers have won five straight, 8 of 9 and 15 of 19 to climb into the playoff race. They remained 2 games back of St. Louis for the second National League wild-card slot.
"We're doing everything right, right now," Ramirez said. "I played on a couple of really good teams in Chicago (with the Cubs) but we started off the season really well. We've kind of made a late push here. Hopefully, it's not too late."
Milwaukee had quite the closing push Thursday. It trailed 7-4 before rallying for four runs in the eighth inning.
Carlos Gomez and Jean Segura opened the inning with consecutive singles off Chad Qualls. Norichika Aoki doubled in a run with one out and Weeks greeted Chris Resop (1-4) with a triple to the 410-foot mark in left-center.
"I was thinking extra-base hit because not only would that score a run there but it would give Rickie a chance to tie the game up in the next at-bat," Aoki said.
Which is exactly what Weeks did.
"Rickie's hit was huge," Milwaukee manager Ron Roenicke said. "That was a great at-bat, a big hit off a breaking ball."
Ryan Braun was intentionally walked before Ramirez bounced a single into center field to give Milwaukee an 8-7 lead. The Brewers then added a run in the ninth on pinch-hitter Logan Schafer's single.
Ramirez had three hits and three RBI for Milwaukee, which built an early 4-0 lead. Gomez also had three hits and Aoki extended his hitting streak to 10 games.
"We did so many good things offensively," Roenicke said. "Guys are running well, they're moving runners, they're doing a lot of things to help us. When a team rolls, it's not just one or two guys that are doing it."
The stumbling Pirates (74-75) have dropped three straight and 11 of 13 to slip under .500 for the first time since May 29. They are 5 games behind the Cardinals and are in danger of a 20th straight losing season, which would extend their major North American professional sports record.
The Pirates were a season-high 16 games over .500 on Aug. 8 at 63-47 but have lost 28 of 39 games since.
Pittsburgh star Andrew McCutchen hit a three-run drive for his 30th homer. Clint Barmes also connected, and Starling Marte and Pedro Alvarez each had two hits.
"I wish I had an answer for why we're struggling," Barmes said. "Everything was clicking for us for so long and it seemed like we were doing all the little things right to win games. Now it's not clicking and it just seems like nothing is going our way."
Manny Parra (2-3), the fifth of seven Brewers pitchers, tossed a scoreless inning for the win. John Axford got three outs for his 31st save in 39 chances, working around an error by rookie shortstop Segura.
The Pirates scored three runs in the sixth to take a 7-4 lead. Barmes hit his eighth homer, Marte singled in a run and Travis Snider had a sacrifice fly.
Milwaukee got off to a fast start, but Pittsburgh managed to put together a quick response.
Ramirez hit a two-run homer off Wandy Rodriguez in the first, then doubled and scored in the third.
McCutchen's drive off Mike Fiers in the bottom half trimmed Milwaukee's lead to 4-3. Pinch-hitter Alex Presley then tied the game with a run-scoring fielder's choice in the fourth.
Rodriguez allowed four runs and five hits in four innings. The left-hander was 3-0 with a 1.40 ERA in his previous four starts.
Fiers gave up three runs and five hits in three innings. The rookie is 3-4 with a 6.75 ERA in his last eight starts after going 6-4 with a 1.82 ERA in his first 12.