title: Rails 4 asset pipeline losing vendor assets
body: <p>I can't seem to figure out how to make sprockets find assets in <code>vendor/assets</code>.  I've ben been pushing off the problem by adding all of my assets to <code>app/assets</code>, but it's becoming way too cluttered.</p>
  
  <p>I have read the documentation, and tried adding all of the following lines to my <code>application.rb</code> file.</p>
  
  <pre><code>config.assets.paths &lt;&lt; "#{Rails.root}/vendor/assets/*"
  config.assets.paths &lt;&lt; "#{Rails.root}/vendor/assets/fonts"
  config.assets.paths &lt;&lt; "#{Rails.root}/vendor/assets/stylesheets"
  config.assets.precompile &lt;&lt; Proc.new { |path|
    if path =~ /\.(eot|svg|ttf|woff)\z/
      true
    end
  </code></pre>
  
  <p>They work locally, but when I push them to the server, none of my vendor assets are there.  I'm using capistrano for deployments, and I know that there were some issues with the upgrade.  That could be the root of the problem, but I followed the documentation to get it deploying (almost) everything alright.</p>