The Pirates rode a familiar combination to their fourth consecutive win.

Their starter provided them with another long, bullpen-saving outing. They assembled a multiple-run inning early. Those ingredients also worked Monday, and Tuesday they gave the Pirates a 6-5 win against the Tampa Bay Rays at Tropicana Field, sealing a series victory.

Jeff Locke (1-1) allowed three runs in 71/3 innings, although two of them came in the eighth before he turned the game over to a shaky bullpen.

"He used his breaking ball early in counts to get ahead," manager Clint Hurdle said. "He just added and subtracted and controlled bat speed for the most part of the outing."

Locke's outing followed Edinson Volquez's eight-inning start Monday night.

He allowed his first run when Gregory Polanco lost Logan Forsythe's two-out fly ball in the fifth. The ball dropped for a triple, and Jose Molina's double scored Forsythe.

Locke sandwiched that inning with effective pitching before and after until the eighth. Brandon Guyer doubled and Evan Longoria hit a two-run homer, which drove Locke from the game. Locke walked two batters, and even that doubled the total from his previous three starts.

"One change I tried to make from last year to this year was just try to get ahead more, not to nibble, not to nibble so much. Put them behind and try to put myself in the driver's seat," said Locke.