capistrano/capistrano — pull request #145 by fcheung (2012-01-18 13:03:25+00:00)
Title: allow configuration of which roles are precompiled on

At the moment it is hardcoded that asset recompilation happens on the web role. This doesn't quite work for us: we have machines that only run delayed job that send emails to our customers. These emails frequently references images from the app's assets and so assets needs to be precompiled on these hosts.

The patch allows one to set which roles asset recompilation should happen on. The default is :web, so this shouldn't change behaviour for existing users