Ramirez tweaked his side in the underground batting cage while taking swings before the game but was cleared to play. The Dodgers did not take batting practice on the field after players were allowed to arrive later than normal because the team checked into its Milwaukee hotel at 7:30 a.m. Friday after a night game in Anaheim against the Los Angeles Angels.
"One swing, it just tightened up on me," Ramirez said. "I was trying to play, and [manager Don Mattingly] was trying to be careful and took me out of the game. I'll get treatment."
Ramirez walked in his only at-bat against Brewers starter Kyle Lohse. When the top of the first inning was complete, Ramirez was met on the field by trainer Stan Conte and was removed immediately, with Miguel Rojas entering the game at shortstop.
Afterward, Ramirez sounded hopeful the injury would not be serious and that he could avoid the disabled list.
"When your team is doing pretty good, it's frustrating," Ramirez said. "I want to be in there every day. When things like this come up, it's like, 'What happened?' You work hard every day to stay in the lineup, and overnight things happen. Sometimes you get disappointed."