With trade rumors swirling around Fenway Park after Ramirez was scratched just before the game, Wells allowed two runs in seven-plus innings as the Boston Red Sox beat the Minnesota Twins 6-2 on Saturday night.
Ramirez was removed from Boston's lineup just five minutes before the game.
Red Sox manager Terry Francona said Ramirez got the night off after getting booed Friday.
"I visited with him and told him that I think, in not just his best interest but our ballclub's best interest, that he sit and clear his head, take a few breaths." Francona said. "We'll go tonight, tomorrow and have an off day Monday, and he agreed."
Ramirez, who insisted on having Wednesday off against Tampa Bay after Francona asked him to reconsider, ran onto the field with his teammates to celebrate after the game ended as the crowd chanted "Manny! Manny!" He was booed during Friday night's game.
Wells, who spent four seasons with the Yankees, certainly knows what it's like to be in the middle of controversy.
"I can't worry about all the distractions and all that kind of stuff," Wells said. "I've dealt with that crap throughout my whole career. ... But when its time to go out there between the lines I am focused on what I need to do."
In a very unusual move, Red Sox security closed the street near the players' parking lot from the media and public during the game. A clubhouse attendant later took Ramirez's car and filled it with gas before parking it near the entrance.
"[Francona] knows what his job is," Boston's Johnny Damon said. "He wants Manny to get his head right. I think with everything going on it definitely is tough. Coming to Fenway, getting booed, some of it is deserved, some of it is not. Manny just needs to get used to it. He's a superstar."
Wells (9-5) took a shutout into the eighth and gave up seven hits, struck out three and didn't walk a batter. He gave up just four singles and allowed one runner to third in the first seven innings. It was his seventh win in eight decisions.
"Wells pitched the ball very good," Minnesota's Ron Gardenhire said. "We really didn't have much going."
Bill Mueller hit an RBI triple in the third and Olerud's bases-loaded, two-run single off Terry Mulholland -- after David Ortiz was intentionally walked -- made it 5-0 in the sixth. Jason Varitek added an RBI single.
Lohse pitched five innings, giving up three runs on seven hits.
"It's frustrating. We're not doing a whole lot right it seems like," Lohse said. "Hopefully we can get out of it soon."
When asked about the possibility of Ramirez being traded before the game, Francona said: "I have enough faith in the people that I work for that, if they make changes, it's going to make the team better.
"I wouldn't talk about Manny specifically in a trade," he said when asked again. "I'm going to talk about anybody. I wouldn't do that."
Ramirez, who usually arrives early, joked with security about cleaning out his locker when he came to the park around 10 a.m. to work out. He left just before 11 and returned later in the afternoon. ... Kapler received a standing ovation from the crowd during his first at-bat. ... Boston designated outfielder Adam Hyzdu for assignment before the game and activated Kapler from the 15-day DL. ... Shortstop Castro made a diving stop on Tony Graffanino's ball up the middle and flipped it with his glove to Bret Boone for a force at second in the fifth. ... Ortiz walked four times, matching his career high.