title: What's the reason behind bootstrap's grid system not working properly in a rails project?
body: <p>I followed the instructions written here - <a href="https://github.com/twbs/bootstrap-sass" rel="nofollow">https://github.com/twbs/bootstrap-sass</a>
  But bootstrap seems to be not working.
  I installed the gems needed, updated files written in the github documentation, and then in my application_layout, </p>
  
  <pre><code>&lt;nav class="navbar navbar-inverse navbar-fixed-top"&gt;
    &lt;div class="container"&gt;
      &lt;div class="navbar-header"&gt;
        &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"&gt;
          &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
        &lt;/button&gt;
        &lt;a class="navbar-brand" href="#"&gt;Project name&lt;/a&gt;
      &lt;/div&gt;
      &lt;div id="navbar" class="navbar-collapse collapse"&gt;
        &lt;form class="navbar-form navbar-right"&gt;
          &lt;div class="form-group"&gt;
            &lt;input type="text" placeholder="Email" class="form-control"&gt;
          &lt;/div&gt;
          &lt;div class="form-group"&gt;
            &lt;input type="password" placeholder="Password" class="form-control"&gt;
          &lt;/div&gt;
          &lt;button type="submit" class="btn btn-success"&gt;Sign in&lt;/button&gt;
        &lt;/form&gt;
      &lt;/div&gt;&lt;!--/.navbar-collapse --&gt;
    &lt;/div&gt;
  &lt;/nav&gt;
  
  &lt;!-- Main jumbotron for a primary marketing message or call to action --&gt;
  &lt;div class="jumbotron"&gt;
    &lt;div class="container"&gt;
      &lt;h1&gt;Hello, world!&lt;/h1&gt;
      &lt;p&gt;This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.&lt;/p&gt;
      &lt;p&gt;&lt;a class="btn btn-primary btn-lg" href="#" role="button"&gt;Learn more &amp;raquo;&lt;/a&gt;&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="container"&gt;
    &lt;!-- Example row of columns --&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-md-4"&gt;
        &lt;h2&gt;Heading&lt;/h2&gt;
        &lt;p&gt;Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. &lt;/p&gt;
        &lt;p&gt;&lt;a class="btn btn-default" href="#" role="button"&gt;View details &amp;raquo;&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="col-md-4"&gt;
        &lt;h2&gt;Heading&lt;/h2&gt;
        &lt;p&gt;Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. &lt;/p&gt;
        &lt;p&gt;&lt;a class="btn btn-default" href="#" role="button"&gt;View details &amp;raquo;&lt;/a&gt;&lt;/p&gt;
     &lt;/div&gt;
      &lt;div class="col-md-4"&gt;
        &lt;h2&gt;Heading&lt;/h2&gt;
        &lt;p&gt;Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.&lt;/p&gt;
        &lt;p&gt;&lt;a class="btn btn-default" href="#" role="button"&gt;View details &amp;raquo;&lt;/a&gt;&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;hr&gt;
  
    &lt;footer&gt;
      &lt;p&gt;&amp;copy; Company 2014&lt;/p&gt;
  &lt;/footer&gt;
  </code></pre>
  
  <p>it breaks the layout and the grids comes one under another.</p>