title: Not able to start rails server , getting symbol not found in flat namespace
body: <p>I am setting my <code>Ruby2.4</code> application on MacM1 with Ruby = 2.7, So I updated gems and other dependencies. Now, I am getting below error in starting server using <code>rails s</code></p>
  <pre><code>require': dlopen(/Users/chakreshwarsharma/.rvm/gems/ruby-2.7.6/gems/therubyracer-0.12.3/lib/v8/init.bundle, 0x0009):
  symbol not found in flat namespace '__ZN2v810ScriptData10PreCompileEPKci' - /Users/chakreshwarsharma/.rvm/gems/ruby-2.7.6/gems/therubyracer-0.12.3/lib/v8/init.bundle (LoadError)
  </code></pre>
  <p>I tried to uninstall libv8 and reinstall libv8@3.15 using the below</p>
  <pre><code>1. Install home-brew for arch -arm64 &amp;  old libv8 3.15 using the below
  2. arch -x86_64 /bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;
  3. vi ~/.zshrc
  4. alias ibrew=&quot;arch -x86_64 brew&quot;
  5. export PATH=&quot;/usr/local/homebrew/bin:$PATH&quot;
  6. ibrew install v8@3.15
  7. gem install therubyracer -v '0.12.3' -- --with-v8-dir=$(ibrew --prefix v8@3.15)
  </code></pre>
  <p>After this bundle install gets completed but I get the above error while staring rails server.</p>