A team spokesman said Ramirez left Saturday’s game in the first inning because of “discomfort.”
With two outs, Ramirez fouled off a 2-0 pitch from right-hander Glenn Sparkman and immediately bent over in pain.
The 26-year-old was examined by head athletic trainer James Quinlan before walking off the field. Mike Freeman completed the at-bat and walked.
Ramirez is batting .254 with 20 homers and 75 RBIs in 126 games.