Let’s Code – How to setup Bootstrap 4 on Ruby on Rails 5


[ad_1]
https://i.ytimg.com/vi/ZPh19YUbC3A/hqdefault.jpg



Let’s Code a quick and easy responsive website using Bootstrap 4 on Ruby on Rails 5! In this episode we setup Bootstrap 4 on a Rails application for some of that responsive and mobile first goodness.

Re-uploaded in HD 🙂

For this Rails 5 app we use the following built-in Rails features:

– Generators (controller)
– Rubygems (Bootstrap 4, Tether)
– Asset Pipeline
– Layouts and views

Don’t forget to subscribe and let’s be friends! Feel free to say hello in the comments. 🙂

Elsewhere on the Internet:

Shop: https://noobandtube.etsy.com
Twitter: https://twitter.com/noobandtube
Instagram: https://instagram.com/noobandtube

Have a lovely day!

(づ。◕‿‿◕。)づ

Original source


8 responses to “Let’s Code – How to setup Bootstrap 4 on Ruby on Rails 5”

  1. Ok its 2018. I am trying to work with the latest Bootstrap 4. Followed every step from the link you used i.e. bootstrap-rubygem. However, I am getting "invalid regexp character" at "stylesheet_link_tag" in application.html.erb
    Why is it happening? Is it the issue with the latest gem?
    Help

  2. I don't know, not a rails dev, but I tried to install the latest bootstrap gem and everything else in the vid and my nav menus ONLY come out blocked or stacked(tried in a few browsers). Tried a few examples from the web and my work.

    No problems when I use the CDN for my other projects in .net or php or on a blank page. I patched it with css but it is strange that it would work that way.

Leave a Reply