James Gray, apprenticed as a shoemaker, was the Latin master at Dumfries, where he taught the children of Robert Burns. He was afterwards master of the Edinburgh High School (1801-22), James Hogg's brother-in-law, and rector of Belfast Academy (1822), where he took Deacon's orders. In 1826 he traveled to Bombay as a chaplain, where he translated the gospel of Matthew into the local language.
Cona; or, the vale of Clwyd. And other poems. 1814.
Poems of Robert Fergusson, ed. Gray. 1821.
The earth's antiquity in harmony with the mosaic record of creation. 1849.