Garuda Purana (Jyotisha Selections) · by Vyasa
Chapter 9 · Gems: Ruby, Emerald, Sapphire and Cat's-eye
पद्मरागमरकतेन्द्रनीलवैदूर्यपरीक्षा
अप्रणश्यति सन्देहे शाणे तु परिलेखयेत् ।स्वजातकसमुत्थेन लिखित्वापि परस्परम् ॥ २६ ॥
In the full Garuda Purana (Purva Khanda) this is chapter 70, verse 26.
If the doubt does not go away, he should scratch it on a whetstone. He can also scratch the stones against each other, using one born of its own kind.
Simple meaning: If in doubt, scratch the stone on a whetstone, or scratch it against another stone of its own kind.
वज्रं वा कुरुविन्दं वा विमुच्यानेन केनचित् ।
Only a diamond or a kuruvinda can scratch a ruby or a sapphire.
जात्यस्य सर्वेऽपि मणेस्तु यादृग् विजातयः सन्ति समानवर्णाः ।
False stones can look like the true gem, so the best way to tell them apart is taught.
गुणोपपन्नेन सहावबद्धो मणिर्न धार्य्यो विगुणो हि जात्यः ।
Never wear a faulty or false stone tied together with a good one, even the Kaustubha.