title: Rails Ruby version issue Mac M1
body: <p>I've got a problem with ruby versions, working on mac M1.</p>
  <p>I tried to follow <a href="https://stackoverflow.com/questions/67247043/m1-mbp-rails-dbcreate-is-throwing-an-error-for-msgpack">this question</a>, and installed ruby 2.7.3 via rbenv. But I'm still running into the following problem:</p>
  <p><code>rails webpack:install</code> results in <code>Your Ruby version is 2.6.3, but your Gemfile specified 2.7.3</code></p>
  <p>However, when I look for <code>ruby --version</code> I get <code>ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [arm64-darwin20]</code>.</p>
  <p>Just to be clear, I want to work with ruby <code>2.7.3</code> as that seems to be better working on Mac M1.</p>
  <p>Any suggestions?</p>