Another excellent tool for the same problem is chruby[1]. I found it simpler (in a good way) than rbenv.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;postmodern&#x2F;chruby" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;postmodern&#x2F;chruby</a>