title: mac os high sierra: gpg: keyserver receive failed: No dirmngr
body: <p>I am trying to run a ruby on rails app locally, and I am deep in a Command-line Pit of Doom and Despair. Any help is appreciated!</p>
  
  <ol>
  <li><p>I ran <code>rails server</code>
  and got this error: <code>Your Ruby version is 2.3.3, but your Gemfile specified 2.5.1</code></p></li>
  <li><p>I wrote <code>rvm install 2.5.1</code> and got this error: <code>-bash: rvm: command not found</code></p></li>
  <li><p>Visited the <a href="https://rvm.io/rvm/install" rel="nofollow noreferrer">RVM website</a> and followed their install instructions. I copied and pasted into the command line: <code>gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
  </code></p></li>
  </ol>
  
  <p>This is where I get the error that I can't resolve:</p>
  
  <pre><code>gpg: connecting dirmngr at '/Users/ocd11/.gnupg/S.dirmngr' failed: IPC connect call failed
  gpg: keyserver receive failed: No dirmngr
  </code></pre>
  
  <p>If I run <code>brew install dirmngr</code> it says it's already installed: <code>Warning: dirmngr 1.1.1_3 is already installed and up-to-date</code></p>
  
  <p>When trying to see what's in the path <code>ls  /Users/ocd11/.gnupg</code>, I get these three files: <code>S.dirmngr    crls.d      pubring.kbx</code></p>
  
  <p>Just to test it out I tried <code>cd /Users/ocd11/.gnupg/S.dirmngr</code> but I got the error <code>-bash: cd: /Users/ocd11/.gnupg/S.dirmngr: Not a directory</code></p>
  
  <p>I just want to run the rails server, but it seems so far at this point! 
  Thank you in advance.</p>