MacOS High Sierra has Ruby 2.3 installed and El Capitan has Ruby 2.0 - both these should be sufficient for most exercises, but if you would like to install a different version or have an older operating system then follow the instructions below.
Note: these instructions may vary between laptops depending on existing configuration.
- Install Xcode command line tools / accept licence