Following assets would not compile.
- vendor/custom.modernizr (from Foundation framework)
I finally found that I have to add them to compile.assets.precompile in applicaiton.rb, as followed:
# Apart from regular stylesheet_include_tag 'application', # I was also using stylesheet_include_tag 'admin' config.assets.precompile += ['admin.css', 'admin.js']
Basically, we add all manifest files except default application.css/js files to precompiled assets array.
. Of course, I added custom.modernizr to precompiled assets array.
config.assets.precompile += ['admin.css', 'admin.js', 'custom.modernizr']
I think there should be a better way to do this. But for now, it works.