Rivera Has RBI Single In 9th, Rays Beat Red Sox 2-1

Chris O'Meara / AP

Tampa Bay Rays' Logan Forsythe lines an RBI single off Boston Red Sox starting pitcher Clay Buchholz during the second inning of a baseball game Thursday, April 23, 2015, in St. Petersburg, Fla. Rays Evan Longoria scored on the hit.

Tampa Bay Rays' Logan Forsythe lines an RBI single off Boston Red Sox starting pitcher Clay Buchholz during the second inning of a baseball game Thursday, April 23, 2015, in St. Petersburg, Fla. Rays Evan Longoria scored on the hit. (Chris O'Meara / AP)

MARK DIDTLERAssociated Press

ST. PETERSBURG, Fla. (AP) — Rene Rivera had a run-scoring single in the bottom of the ninth inning and the Tampa Bay Rays beat the Boston Red Sox 2-1 on Thursday night.

Allan Dykstra opened the ninth with a single off Anthony Varvaro (0-1). Pinch-runner Tim Beckham went to second on Kevin Kiermaier's one-out single and scored the winning run on Rivera's hit down the third-base line.

Brad Boxberger (2-1) struck out one during a perfect ninth for the win.

The Rays have won in two in a row after dropping the four first games of a nine-game homestand.

Tampa Bay's Jake Odorizzi gave up one run, three hits, three walks and had three strikeouts in 6 2-3 innings.

Clay Buchholz allowed one run and two hits over six innings for Boston. He struck out 10 and walked three.