How to Update Ruby Version in macOS
Although macOS comes pre-installed with Ruby, the pre-installed version is usually behind, and there’s usually a need to have a more recent version. This tutorial will look at different ways of installing Ruby on Mac. Update Ruby Version in macOS Using Homebrew brew install ruby Running the above command in a terminal installs the latest version of Ruby. Suppose you will be working on different projects that require different Ruby versions.