The Dodgers scratched Hanley Ramirez from the starting lineup Wednesday because of what the team called irritation in his right shoulder.