I’ve deployed a rails 3 app using
deploy_revision resource with asset compilation is done inside the
before_restart block and it works fine.
Since it takes too long and though any assets is not changed, it will still do the precompilation.
bash “asset_precompile” do
bundle exec rake assets:precompile --trace
There are several work arounds in capistrano. One of which is https://github.com/capistrano/capistrano/pull/174/files#L1L40
Does the deploy_revision have the following kind of methods which capistrano has?
So that I could make the asset compilation conditional.