In my case it's my son's middle name so I pretty much have to spell it that way. Thankfully there is no American spelling of ruby so my daughter escaped this burden.
But if I am being honest, at least for a name I prefer it spelled gray.