The Tampa Bay Rays signed veteran shortstop Alexei Ramirez.