title: getting bootstrap-sass gem and rails to work with existing project
body: <p>I'm trying to integrate bootstrap into a current rails project and am having a difficult type installing. Specifically, I seem to be having a problem with the javascript. I have added to application.js:</p>
  
  <p>//= require bootstrap</p>
  
  <p>But I get the following error:</p>
  
  <p><img src="https://i.stack.imgur.com/2kBvM.png" alt="enter image description here"></p>
  
  <p>These are referenced in bootstrap.js.coffee and I can get rid of the errors by clearing this file out. Here are the contents:</p>
  
  <pre><code>jQuery -&gt;
    $("a[rel=popover]").popover()
    $(".tooltip").tooltip()
    $("a[rel=tooltip]").tooltip()
  </code></pre>
  
  <p>There is discussion about loading the individual modules but it's not clear to me if I should be doing this or whether  I need to be doing this. <a href="https://github.com/thomas-mcdonald/bootstrap-sass" rel="nofollow noreferrer">https://github.com/thomas-mcdonald/bootstrap-sass</a></p>
  
  <p>I'd really like to be able to add bootstrap to this currently existing project. Any help is appreciated.</p>
  
  <p>thx</p>