title: Rails 5 - How to include all vendor assets in the asset pipeline?
body: <p>I've found several different threads on including assets in the <code>vendor/assets</code> directory but did not find anything that worked for me. Previously, I had all of my vendor assets in the <code>app/</code> directory but moved the JavaScript to the <code>vendor/assets/javascripts/</code> directory and the CSS to the <code>vendor/assets/stylesheets/</code> directory.</p>
  
  <p>I'm now trying to load my vendor assets both in development and production, and they're not loading at all. Here's my <code>assets.rb</code> file:</p>
  
  <pre><code># Be sure to restart your server when you modify this file.
  
  # Version of your assets, change this if you want to expire all your assets.
  Rails.application.config.assets.version = '1.0'
  
  # Add additional assets to the asset load path
  # Rails.application.config.assets.paths &lt;&lt; Emoji.images_path
  
  # Precompile additional assets.
  # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
  Rails.application.config.assets.precompile += [
    Rails.root.join('vendor/assets/javascripts/*').to_s,
    Rails.root.join('vendor/assets/stylesheets/*').to_s
  ]
  </code></pre>
  
  <p>I've also tried adding the <code>vendor/assets/</code> directories to <code>Rails.application.config.assets.paths</code>, and that didn't help.</p>
  
  <p>How can I include all of the vendor assets in the asset pipeline?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I got my vendor JavaScript to load by adding the following to <code>app/assets/javascripts/application.js</code>:</p>
  
  <pre><code>//= require_tree ../../../vendor/assets/javascripts/.
  </code></pre>
  
  <p>However, I'm using Sass and am still not able to get the SCSS files to load.</p>