Це стара версія документу!
How To Install Ruby and Set Up a Local Programming Environment on macOS - on DigitalOcean