Ramirez, who is transitioning to left field after playing shortstop his whole career, batted cleanup behind David Ortiz.
Justin Masterson also kicked off his second stint in a Boston uniform by allowing a hit and an unearned run over two innings.
"I felt good. Didn't hit anybody," quipped Masterson. "Four-seamers and sinkers both had a lot of movement. I was roughly inside the zone. Got a lot of ground balls. That's exactly what I'm looking for."
"That's a quality lineup over there, and they are going to make you work," Koehler said. "If you don't execute pitches when you are ahead in the count, they can still put some runs on the board."
Red Sox closer Koji Uehara saw his first action of Spring Training and wasn't particularly sharp, giving up three hits and two runs over an inning.
"I'm not even looking at my location or anything," said Uehara. "I'm just trying to get my innings in."
Michael Morse belted an RBI double off Uehara.
"It's Spring Training," said Morse. "It's early. He's working on things, I'm working on things. It helps that I've faced him before and know what he has. I was just trying to be patient and see the ball up."
Up next: The Marlins will return to Jupiter, Fla., to play host to the Mets, with the contest beginning at 1:05 p.m. ET. It will be the first of five meetings between the clubs this spring. Projected Opening Day starter Henderson Alvarez takes the hill in his first Grapefruit League start. Giancarlo Stanton should be back in the lineup after making his debut on Thursday.
Ian Browne is a reporter for MLB.com. Read his blog, Brownie Points, and follow him on Twitter @IanMBrowne. This story was not subject to the approval of Major League Baseball or its clubs.