title: Updating RVM, Ruby, and Rails on macOS
body: <p>I'm using macOS in development (Ubuntu in prod), and want to update things for my next project. But I keep running into issues:</p>
  <pre><code>
  $ rvm -v
  rvm 1.28.0 (latest) by Wayne E. Seguin &lt;wayneeseguin@gmail.com&gt;, Michal Papis &lt;mpapis@gmail.com&gt; [https://rvm.io/]
  
  $ ruby -v
  ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
  
  $ brew -v
  Homebrew 2.4.9
  Homebrew/homebrew-core (git revision 50be1b; last commit 2020-08-08)
  Homebrew/homebrew-cask (git revision ccae745; last commit 2020-08-08)
  
  $ rails -v
  Rails 5.1.6.1
  </code></pre>
  <h1>if I turn on auto-update rvm</h1>
  <p>I cannot get past the first step in updating rvm</p>
  <pre><code>$ rvm install 2.6.1
  Found old RVM 1.28.0 - updating.
  Downloading https://get.rvm.io
  Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
  Verifying /Users/edmund/.rvm/archives/rvm-installer.asc
  gpg: Signature made Wed Jul 24 05:59:45 2019 HKT using RSA key ID 39499BDB
  gpg: Can't check signature: No public key
  Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
  Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
  
  GPG signature verification failed for '/Users/edmund/.rvm/archives/rvm-installer' - 'https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc'!
  try downloading the signatures:
  
      gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  
  or if it fails:
  
      command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
  
  the key can be compared with:
  
      https://rvm.io/mpapis.asc
      https://keybase.io/mpapis
  </code></pre>
  <p>And when I follow instructions:</p>
  <pre><code>$ gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  gpg: requesting key D39DC0E3 from hkp server keys.gnupg.net
  gpg: unable to execute program `/usr/local/Cellar/gnupg2/2.0.30_3/libexec/gpg2keys_curl': No such file or directory
  gpg: no handler for keyserver scheme `hkp'
  gpg: keyserver receive failed: Keyserver error
  </code></pre>
  <p>following the &quot;if it fails&quot; instruction doesn't seem to raise errors but do not help the problem</p>
  <pre><code>command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
  gpg: key D39DC0E3: &quot;Michal Papis (RVM signing) &lt;mpapis@gmail.com&gt;&quot; not changed
  gpg: Total number processed: 1
  gpg:              unchanged: 1
  </code></pre>
  <p>Am I missing something obvious?</p>
  <h1>If I turn off auto-update rvm</h1>
  <pre><code>$ rvm install 2.6.1
  Warning, new version of rvm available '1.29.10-next', you are using older version '1.28.0'.
  You can disable this warning with:    echo rvm_autoupdate_flag=0 &gt;&gt; ~/.rvmrc
  You can enable  auto-update  with:    echo rvm_autoupdate_flag=2 &gt;&gt; ~/.rvmrc
  Searching for binary rubies, this might take some time.
  Found remote file https://rubies.travis-ci.org/osx/10.15/x86_64/ruby-2.6.1.tar.bz2
  Checking requirements for osx.
  Installing requirements for osx.
  Updating system....
  Installing required custom packages: homebrew/dupes homebrew/dupes.
  Error running 'requirements_osx_brew_install_custom homebrew/dupes homebrew/dupes',
  showing last 15 lines of /Users/edmund/.rvm/log/1596893890_ruby-2.6.1/install_custom.log
      do
          brew tap &quot;${__tap}&quot; || return $?;
      done
  }
  current path: /Users/edmund/Documents/playground/ugdev
  GEM_HOME=/Users/edmund/.rvm/gems/ruby-2.4.0
  PATH=/Users/edmund/.rvm/gems/ruby-2.4.0/bin:/Users/edmund/.rvm/gems/ruby-2.4.0@global/bin:/Users/edmund/.rvm/rubies/ruby-2.4.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/edmund/.rvm/bin
  GEM_PATH=/Users/edmund/.rvm/gems/ruby-2.4.0:/Users/edmund/.rvm/gems/ruby-2.4.0@global
  command(3): requirements_osx_brew_install_custom homebrew/dupes homebrew/dupes
  ++ typeset __tap
  ++ for __tap in '&quot;$@&quot;'
  ++ brew tap homebrew/dupes
  Updating Homebrew...
  Error: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
  ++ return 1
  Requirements installation failed with status: 1.
  </code></pre>
  <p>Already updated brew by the way...</p>
  <p>Any clues?</p>