Failing to update through command line

Thanks. But there is no explanation about this in the install page. In fact I didn’t install ruby in my server. Is it installed automatically when we install discourse?

https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md