I want Rails 3.1 to pick up more of my assets for precompilation. In particular, the default matcher for compiling files doesn\'t add .js files from vendo
.js
vendo
# Precompile *all* assets, except those that start with underscore config.assets.precompile << /(^[^_\/]|\/[^_])[^\/]*$/
Reference the 55minutes Blog for the full explanation.
This will precompile any assets, not just JavaScript (.js, .coffee, .swf, .css, .scss)