How to fix "dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib" permanently for Ruby?
<p>I updated my OS about 2 weeks ago, and since then I've been running into this issue:</p>

<pre><code>&gt; ruby -v            
dyld: Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
  Referenced from: /Users/me/.rvm/rubies/ruby-2.2.1/bin/ruby
  Reason: image not found
[1]    65487 trace trap  ruby -v
</code></pre>

<p>A solution found here (<a href="https://stackoverflow.com/questions/26555902/ruby-v-dyld-library-not-loaded-usr-local-lib-libgmp-10-dylib">Ruby -v dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib</a>) works for each terminal session, but not permanently. I am running OS 10.9.5.</p>

<p>This is what works temporarily:</p>

<pre><code>rvm reinstall 2.1.4
</code></pre>

<p>This has no effect, other than update homebrew:</p>

<pre><code>brew update &amp;&amp; brew install gmp 
</code></pre>

<p>How can I fix this permanently?</p>