It s all git and ruby underneath so hack away with the knowledge that you can easily revert your modifications and merge upstream updates.
Brew update ruby.
Run brew install ruby.
We will be setting up a ruby on rails development environment on macos 10 14 mojave.
This will take about 30 minutes.
Debian or ubuntu 16 04.
If ruby is already installed run brew upgrade ruby to upgrade to the latest version.
With this homebrew will go out and fetch not only ruby but also any dependencies ruby needs to run.
Installing homebrew on a mac installation.
This should install the latest ruby version.
Apt installs ruby v2 3 1.
Brew install ruby.
The command is pretty straightforward.
Older versions of os x are mostly compatible so follow along as far as you can and then google search for any problems you run into.
Use the package manager to install ruby.
Homebrew is a commonly used package manager on macos.
Installing ruby using homebrew is easy.
The missing package manager for macos or linux.
Homebrew lets you avoid possible security problems associated with using the sudo command to install software like node.
Homebrew is package manager for macs which makes installing lots of different software like git ruby and node simpler.
To remove ruby with apt you ll need to check which versions of ruby you have installed.