II. Install Boostrap in Ruby on Rails
1. Configure Gemfile
In your project directory, find and open the file called ” Gemfile “.
Then insert the following command line text:
gem 'boostrap-sass', '3.4.1'
2. Run the cmd command
Open your cmd and run the following command:
3. Add Boostrap
In your project directory, go to the path
app/assets/stylesheets and create a new file called
In the directory just created, we add the following two lines of commands:
That’s it, with the simple steps as above, you have successfully installed Boostrap in your project.
To learn more about Boostrap’s classes, you can refer here:
Bootstrap is an optimized framework and will be used a lot in the future. Especially in the process of designing a professional website. Hopefully with my post, I will be able to help a little in using Boostrap in your projects