<div dir="ltr">While I appreciate the desire to bring rmate into the rubygem fold, it presents some difficulties.<div><br></div><div>Prior, I could install rmate into ~/bin on any machine I had ssh access to, quickly and easily by copying the guts of the script.  This let me minimize my impact on remote machines that I needed to work on.  (FWIW, I do most of my work on client machines of, let's say, older vintage, with extremely locked down environments.  rmate is my secret sauce.)</div>
<div><br></div><div style>Now, I find myself needing to install rubygems on the remote machine, just to keep working, and without admin access.</div><div style><br></div><div style>In the interest of retaining my remaining hair, what's the quick and dirty way of installing rmate on remote machines now, when one does not have admin rights to do a simple install of rubygems?</div>
<div style><br></div><div style>Failures:</div><div style><br></div><div style>% rmate mpp</div><div>/work/users/jsmith/bin/rmate:12:in `require': no such file to load -- rmate (LoadError)</div><div><span class="" style="white-space:pre">      </span>from /work/users/jsmith/bin/rmate:12</div>
<div><br></div><div style>[ install rubygems in ~/bin ]</div><div style><br></div><div style>% gem install rmate</div><div>/work/users/jsmith/bin/gem:8:in `require': no such file to load -- rubygems (LoadError)</div><div>
<span class="" style="white-space:pre">       </span>from /work/users/jsmith/bin/gem:8</div><div><br></div><div style>% printenv GEM_HOME</div><div style>~/bin/gems/<br></div></div>