rbenv
Topics: Ruby
rbenv manages multiple Ruby versions by selecting a Ruby installation per user or project.
Subtopics
Issues with Homebrew
With Homebrew for Linux installed, I ran into issues where the gem command couldn’t find zlib. I was able to solve this by telling ruby-build to use zlib from Homebrew as well.
RUBY_CONFIGURE_OPTS="--with-zlib-dir=$(brew --prefix zlib)" rbenv install <version>