Which gem update rubygems.
Update ruby macos.
Hands off the system ruby.
Homebrew macos ruby versions 2 0 and above are included by default in macos releases since at least el capitan 10 11.
We will be setting up a ruby on rails development environment on macos 10 14 mojave.
This will take about 30 minutes.
Mary on update ruby to latest version on mac.
Th on update ruby to latest version on mac os x.
Newer versions of ruby are available and the mac s version will change if you install updates.
To update to its latest version with.
Spookygirl91 on update ruby to latest version on mac os x.
Installing ruby using homebrew is easy.
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.
How to install ruby on mac os x with rvm.
Brew install ruby.
Rubygems the ruby package manager should be installed on your machine if you previously have installed ruby verify this by running.
Gem update system install gems.
To install a gem ruby package run.
This article explains why you should avoid using the version of ruby bundled with mac os x and should instead install your own version of ruby with rvm the ruby version manager.
Homebrew is a commonly used package manager on macos.
This should install the latest ruby version.
Sergey yurin on update ruby to latest version on mac os x.
Phpweborg on best resources for learning php from the ground up newbie goodies.