Ruby si actually the script engine that talks to the NGINX webservice so yeah, these are all legit. If tou start up the server you will see several ruby,exe processes that take up all CPU for starting the engine.
The CMD processes I do not have to be honest. It could very well be housekeeping but you'd have to ask support for that.