Skip to content

Instantly share code, notes, and snippets.

@jclay
Created March 19, 2014 17:21
Show Gist options
  • Save jclay/9646714 to your computer and use it in GitHub Desktop.
Save jclay/9646714 to your computer and use it in GitHub Desktop.
Include vendor/assets files in the asset pipeline for rails 4.x

Add the following to production.rb

config.assets.precompile += Dir.glob(Rails.root.join('vendor/assets/**/*')).select { |f| File.file?(f) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment