title: How to add Bootstrap v5 to your Ruby On Rails app
body: <p>I'm trying to add Bootstrap v5 to a Ruby On Rails v6 project and there seems to be 2 ways to do it <a href="https://getbootstrap.com/docs/5.0/getting-started/download/" rel="nofollow noreferrer">on getbootstrap.com installation docs</a></p>
  <ol>
  <li>Using yarn: <code>yarn add bootstrap</code></li>
  <li>Using RubyGem: <code>gem 'bootstrap', '~&gt; 5.0.1'</code></li>
  </ol>
  <p>Is there a preferred method between these two? Is one better than the other on specific cases? I'd like to understand the difference, because all the examples I find use the first option.</p>