title: JavaScript not working in rails 5 app
body: <p>I want to use static javascript files without using the gems in my rails app. My <code>application.js</code> looks like this </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>//= require jquery
  //= require bootstrap
  //= require owl-carousel
  //= require rails-ujs</code></pre>
  </div>
  </div>
  </p>
  
  <p>And all of the Js file I have to add in javascript folder without using any gem using assets pipeline. <a href="https://i.stack.imgur.com/TwcsL.png" rel="nofollow noreferrer">The final output that i want</a>. But in my rails app <a href="https://i.stack.imgur.com/C3wpN.png" rel="nofollow noreferrer">javascript is not working or not loading</a>. My <code>application.css.scss</code> looks like this: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>@import "bootstrap";
  @import "style";
  @import "owl-carousel";</code></pre>
  </div>
  </div>
  </p>
  
  <p>And the code of <code>index.html.erb</code> </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="app_screenshots_slides owl-carousel"&gt;
      &lt;div class="single-shot"&gt;
          &lt;%=image_tag("scr-img/1.png", alt: "")%&gt;
      &lt;/div&gt;
      &lt;div class="single-shot"&gt;
          &lt;%=image_tag("scr-img/2.png", alt: "")%&gt;
      &lt;/div&gt;
      &lt;div class="single-shot"&gt;
          &lt;%=image_tag("scr-img/3.png", alt: "")%&gt;
      &lt;/div&gt;
      &lt;div class="single-shot"&gt;
          &lt;%=image_tag("scr-img/4.png", alt: "")%&gt;
      &lt;/div&gt;
      &lt;div class="single-shot"&gt;
          &lt;%=image_tag("scr-img/1.png", alt: "")%&gt;
      &lt;/div&gt;
      &lt;div class="single-shot"&gt;
          &lt;%=image_tag("scr-img/3.png", alt: "")%&gt;
      &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>