I recently started learning Ruby (2015) and one of the first things I ran into was not having the right version of Ruby installed. (Macintosh comes with Ruby but mine was an older version). How do I install a new version of Ruby? Will this mess my system up? Can I switch back? Evidently my fears are warrented and have lead to the rise of of the Package Manager.
Downloading and compiling sources, (or even just running programs on the 70's tech that is UNIX) requires multiple code libraries that each depend on different versions of the other is an impossibly mind numbing task. Enter the package manager.
MacPorts is one package manager, but I read a lot of posts and chose Homebrew. (Actually I'm running both, and have tried to careful about it but this is fraught with peril I'm told.) Using Homebrew you can download a Ruby version control system called rbenv. rbenv lets you switch back and forth between versions of Ruby at will and handles all the myria