brew install ruby

Shell
brew install ruby
Source

Also in Shell: