Every time I have issues with rvm (which seems often) or rbenv (occasionally, I use it less), I&#x27;m reminded that Modules (<a href="http:&#x2F;&#x2F;modules.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;modules.sourceforge.net&#x2F;</a>) takes care of this path fiddling and more. Yeah, it&#x27;s old and it&#x27;s in TCL and it doesn&#x27;t solve the &quot;how do I build a new ruby and gemset&quot; problem but it&#x27;s been working for years on the &quot;how do I switch path&quot; problem. I use module when I build .deb of Ruby and gems.