snipt

Ctrl+h for KB shortcuts

Bash

installing gems the RVM way-

rvm ${version} do gem install ${gem}
https://snipt.net/embed/7172e366c76e0f722e37e25f1553be5b/
/raw/7172e366c76e0f722e37e25f1553be5b/
7172e366c76e0f722e37e25f1553be5b
bash
Bash
1
2019-08-15T21:26:11
True
False
False
/api/public/snipt/39169/
installing-gems-the-rvm-way-
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>rvm <span class="si">${</span><span class="nv">version</span><span class="si">}</span> <span class="k">do</span> gem install <span class="si">${</span><span class="nv">gem</span><span class="si">}</span> </span></pre></div> </td></tr></table>
Bash, RVM, Ruby