title: Switch to a different version of ruby using homebrew
body: <p>I migrated my MacBook using Migration Assistant. I have two rails apps I was working on my previous laptop and now when I try working on those apps on my new laptop one them works properly(Restaurant App) and in the other(Quiz App) when I try to turn on the server I get this </p>
  
  <pre><code>Your Ruby version is 2.2.3, but your Gemfile specified 2.5.1
  </code></pre>
  
  <p>Both the apps have ruby version 2.5.1. What could be the possible reason the I am able to run the server on one app(Restaurant App) and not the other(Quiz App).</p>
  
  <p>I tried running the command below to switch the ruby version to 2.5.1</p>
  
  <pre><code>brew unlink ruby@2.2.3 &amp;&amp; brew link --force --overwrite ruby@2.5.1
  </code></pre>
  
  <p>but I get an error</p>
  
  <pre><code>No such keg: /usr/local/Cellar/ruby@2.2.3
  </code></pre>
  
  <p>Please help me figure out this problem.</p>