“rbenv” is a command-line tool that allows you to install and manage Ruby and Rails.“rbenv” will let you move between Ruby versions as needed and keeping your entire team on the same version.
Updating ruby on rails
Before the upgrade to Sierra I was using Ruby 2.2.4 and Rails 5.
I tried using this configuration with Sierra, but ended up doing some Inception-type shit to my symlink directories.
If you followed this guide, you should already have git installed as part of the XCode Command Line Developer Tools.
You may also want to install git separately with homebrew for easier upgrading.
This is done with the following command: source /etc/profile.d/Install the Ruby dependencies with the RVM command below: rvm requirements Sample output: The following command lists the available ruby versions: rvm list known Sample output: # MRI Rubies[ruby-]1.8.6[-p420][ruby-]1.8.7[-head] # security released on head[ruby-]1.9.1[-p431][ruby-]1.9.2[-p330][ruby-]1.9.3[-p551][ruby-]2.0.0[-p643][ruby-]2.1.4[ruby-]2.1[.5][ruby-]2.2[.1][ruby-]2.2-headruby-head# for forks use: rvm install ruby-head- --url https://github.com/github/--branch 2.1# JRubyjruby-1.6.8jruby[-1.7.19]jruby-headjruby-220.127.116.11.pre1# Rubiniusrbx-1.4.3rbx-2.4.1rbx[-2.5.2]rbx-head# Opalopal# Minimalistic ruby implementation - ISO 30112mruby[-head]# Ruby Enterprise Editionree-1.8.6ree[-1.8.7][-2012.02]# Go Rubygoruby# Topaztopaz# Mag Levmaglev[-head]maglev-1.0.0# Mac OS X Snow Leopard Or Newermacruby-0.10macruby-0.11macruby[-0.12]macruby-nightlymacruby-head# Iron Rubyironruby[-1.1.3]ironruby-head Using RVM makes the independent management of ruby versions an easy process.