Ruby Script to launch a V-Ray render

Hello
I am pretty new to Ruby.
What ruby code is needed to render with vray and save the rendered file somewhere?

I don’t think vray exposes anything through the SketchUp Ruby API. So if it is possible it would need to be done by having Ruby send a command line to the OS for execution. I don’t know what that command would be, though.