Sale forward Gray, who was winning his 26th cap, was injured during the first half against the Springboks.
Scotland doctor James Robson said: "Richie will now be subject to the return to play protocol following a concussive episode. We have been in contact with his club medical team at Sale Sharks to discuss the management of his injury."
Scotland reported no other injury concerns following the defeat to the Springboks as they prepare for next Saturday's game against Tonga in Aberdeen.
Robson added: "Alasdair Strokosch is continuing his rehabilitation with us following the calf strain he sustained in training last week."
Gilbert has released a new line of rugby cleats. The Gilbert Virtuo 8S is part of the exciting new product. Check it out.
The Barbarians are one of the top invitational rugby sides with a long history and classic rugby jersey.
The Nike Tiempo is a solid rugby cleat and one of few styles still made from full-grain natural leather.
The Lions get ready for their matches with this green training jersey. It's what the players wear. Get in the Gear!
A cool looking all black rugby cleat with the high performance adidas is known for. Get in the Gear!
Wear the crest of the British and Irish Lions on your t-shirt. A great look for the summer.
The Lions are ready to get their Australia tour underway. They arrive in Perth on Monday.
The New Zealand All Blacks training jersey for 2013/14. Get in the Gear!
The USA Rugby Pro Alternate rugby jersey is perfect for any fan of the Eagles. Get yours to wear during the summer Test matches.
The NEW All Blacks 2013/14 jersey has arrived at World Rugby Shop. Dare to wear the colors of the All Blacks.