My cap recipe for a Rails app has just grown to more than one server;

I now have a server where the source is installed (in order to then set some rake cronjobs on that server), but it's not actually an app/web server.

So I don't want asset precompile to run there.

But asset precompile seems to be running there anyway. Looking at the actual code at: https://github.com/capistrano/capistrano/blob/master/lib/capistrano/recipes/deploy/assets.rb

I'm not sure why... it looks like it should only run the assets:precompile task on servers with role `assets_role`, which defaults to `web`.

This server does not have the role 'web', in fact it only has one role, one custom one I made up ("indexer_jobs")... but the assets:precompile task seems to be triggered there anyway.

Anyone have any clues what might be going on, or suggestions for how I can get to the bottom of this?

--
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to