Rbenv global 1 9 3 p125.
Mac ruby update homebrew.
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.
Installing homebrew on a mac installation.
Brew install ruby.
This will take about 30 minutes.
The missing package manager for macos or linux.
The command is pretty straightforward.
Installing ruby using homebrew is easy.
Brew update brew tap homebrew dupes brew install autoconf automake apple gcc42 the new gcc will coexist happily alongside the default one.
Homebrew lets you avoid possible security problems associated with using the sudo command to install software like node.
Homebrew is a commonly used package manager on macos.
This should install the latest ruby version.
We will be setting up a ruby on rails development environment on macos 10 14 mojave.
It s all git and ruby underneath so hack away with the knowledge that you can easily revert your modifications and merge upstream updates.
Homebrew is package manager for macs which makes installing lots of different software like git ruby and node simpler.
With this homebrew will go out and fetch not only ruby but also any dependencies ruby needs to run.
Written on ruby.
Rbenv install 1 9 3 p125 now if you d like to use 1 9 3 by default you can run the following command.
Homebrew macos ruby versions 2 0 and above are included by default in macos releases since at least el capitan 10 11.
Use the package manager to install ruby.