Add docs for ruby compatibility

[ci skip]