Bootstrap is an HTML, CSS, and JS framework for developing responsive, mobile-first projects on the web. Bootstrap 4 is built with Sass. In this recipe, you will learn how to use Bootstrap when developing Ruby on Rails web applications.
You can read more about Bootstrap 4 in Chapter 12, Bootstrap and Sass, of this book. Note that the code in this recipe uses the alpha release of Bootstrap 4. You should not use alpha or beta releases for production. The final release of Bootstrap 4 may differ from the alpha release.
Integrate Bootstrap into your RoR app by performing the following steps: