title: How to update ruby on mac version 10.15.5
body: <p>I would like to update the ruby version I have installed from 2.6.3p62 version to 2.7.1</p>
  <p>I tried to follow these instructions found <a href="https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-macos" rel="nofollow noreferrer">here</a></p>
  <p>Because I was having an issue with Ruby before in the past I thought it would be a good idea to go through the uninstalling portion from that tutorial first.</p>
  <p>I tried installing again starting from the first step but when I did <code>type rbenv</code> what shows up instead is <code>rbenv is /usr/local/bin/rbenv</code></p>
  <p>I'm not sure why that happens but I went ahead to try to install ruby version 2.7.1 and once I get to checking my ruby version doing <code>ruby -v</code> it shows <code>ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]</code> instead of ruby version 2.7.1 which I installed.</p>
  <p>I tried <code>rbenv versions</code> and what shows up in the console is</p>
  <pre><code>system
  * 2.7.1 (set by /Users/michaeltorres/.rbenv/version)
  </code></pre>
  <p>I am not sure what is going on but it seems like a ruby version 2.6.3 is still being detected</p>