If you work on multiple Ruby projects concurrently, you‚Äôre probably accustomed to juggling gems. One project requires one batch of gems; another effort depends on a different set; and a third project utilitizes a specific legacy gem. Thankfully, the Ruby gem system can maintain multiple versions of the same gem in a single repository, making much of this task easy. If you need an explicit version of a gem (or any late model version, such as 3.x
), simply install the code you need and name the dependency.