ST. PETERSBURG, Fla. — Nelson Cruz didn't quite know what to make of his 30th home run, which put a charge into the ninth inning of the Seattle Mariners' 7-1 victory over the Tampa Bay Rays on Friday night.

The distance of the solo blast into the upper deck was measured by MLB Statcast as 482 feet, which makes it the longest ever measured at Tropicana Field.

"Cool. Do they give a prize for that?" asked Cruz, who also had two doubles and scored three runs for the Mariners in the first game of a 12-game trip.

MLB Statcast has been measuring home runs only in the last three seasons. Some players doubt the validity of the measurements, and some of the Mariners had doubts whether it was even Cruz's longest homer. But catcher Mike Zunino, who had two doubles and drove in two runs, said "you could have told me 500 (feet) and I would have believed it."

Cruz acknowledged that he "squared it up pretty good, yeah."

Erasmo Ramirez won his first game for the Mariners since April 1, 2014.

Ramirez, who was traded back to the Mariners on July 28 after pitching 2 1/2 seasons with the Rays, gave up one run and two hits in six innings, leaving the game with a 6-1 lead.

"It feels weird because it's no more than a month, but ... we have to fight for the playoffs so I cannot just come in here and give up," Ramirez (5-4) said. "I have a lot of friends on the other side, but at the same time it's a game and I have to play for my team at this moment."

Hits by Robinson Cano, Cruz, Danny Valencia and Ben Gamel helped the Mariners score three runs in the first off Rays starter Austin Pruitt. Back-to-back doubles by Guillermo Heredia and Zunino and a single by Jean Segura brought in two more runs and made it 5-0 in the third.

Cruz's home run off reliever Brad Boxberger drove in Seattle's final run in the ninth.

"It's great when he gets hot because they're not just singles, they're doubles and homers," Mariners manager Scott Servais said.

Pruitt (6-4) gave up six runs and 11 hits in seven innings, throwing 107 pitches in his sixth major league start.

Kevin Kiermaier, playing for the first time since fracturing his hip on June 8, led off the sixth with a double off Ramirez and scored Tampa Bay's run on a sacrifice fly.

"A long wait for that to happen again, but hopefully you'll see plenty more of that in the next month or so," Kiermaier said.

Wilson Ramos had three hits for the Rays, who lost for the seventh time in eight games and fell four games below .500 (60-64) for the first time this season.

KIERMAIER RETURNS IN LEADOFF SPOT

Kiermaier, back in the Rays' lineup for the first time in more than two months, led off because somebody had to on a team that has scored only 24 runs in its last 14 games. "Why wouldn't he be the best option?" asked manager Kevin Cash. "We've tried some other guys up there, it just has not clicked for whatever reason."

TRAINER'S ROOM

MARINERS: 3B Kyle Seager lost about 12 pounds while missing two games with a stomach virus, and "he still looks pretty thin," according to Servais. ... OF Jarrod Dyson (strained groin) said he felt better Friday, but Servais wanted to give him another day off. ... Heredia was in the lineup after negative X-rays on a forearm that got hit by a pitch.

RAYS: RHP Matt Andriese (stress reaction, right hip) took a ground ball off his shin and left Friday's rehab start at Class-A Charlotte after just two pitches.

UP NEXT

Mariners LHP Ariel Miranda (7-6) will face Rays RHP Jake Odorizzi (6-6) on Saturday night. Miranda pitched the only complete game of his career and Seattle's only complete game of the season against the Rays on June 4, a 7-1 Mariners victory.