Managing Rubies and Gemsets with rbenv
摘要
In order to make use of RubyGems, you will need to install Ruby itself. The obvious way is to use your system package manager; on OS X, you could use brew install ruby; on Debian-based distributions, like the ever-popular Ubuntu, you could use apt install ruby-full1. On Red Hat-based distributions, you can use the very similar dnf install ruby ruby.-devel.