Are diamonds the only gemstones that can scratch glass?

no, rubies and emeralds and even sapphires can scratch glass. i found Pirates Fools Gold Iron Pyrite can also scratch glass.