Ruby On Rails With Bootstrap Tutorial (simple)



https://i.ytimg.com/vi/Nf_Si8_szmM/hqdefault.jpg



See how to build a Ruby On Rails app with Bootstrap integration. We’ll use the Bootstrap gem rather than downloading the Bootstrap libraries.

This app will be built from the ground up. Even if you don’t know Ruby on Rails, you’ll still get a lot from this tutorial.

Brought to you by Bitesize Business School: http://www.bitesizebschool.com

Original source


16 responses to “Ruby On Rails With Bootstrap Tutorial (simple)”

  1. In 1:48 your's rails version is 4.2.4 and i am now using 5.0.0. after
    1.defining new gem file 'bootstrap' ,
    2. renaming application.css to application.css.scss
    3.importing bootstrap-sprockets and bootstrap
    4.when i run bundle install in terminal — i am having trouble here..
    it says: could not find gem 'bootstrap-saas' in any of the gem sources listed in your gemfile or available on this machine.

  2. help please, i follow your step but i got this error

    ExecJS::ProgramError in Startup#index
    Showing c:/Ruby/Sites/boot/app/views/layouts/application.html.erb where line #7 raised:

    TypeError: Object doesn't support this property or method

    if i delete these code, the error not showing up

    <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>

    but the css doesn't imported

  3. Really helpful, not least because I was in the middle of looking at a theme from the exact same site 😛

    One thing, though – there seems to be some JS on the original theme that you don't set up (when you scroll down the page on the original, different parts of the navbar highlight) – is that just a case of copying across links from the original as well?

Leave a Reply