diff --git a/Capfile b/Capfile index 30fc4618decd4d174c5e48d74bef7d6a9478d23e..dbd84da275273e1e4f481b4c49e08b88cb534b80 100644 --- a/Capfile +++ b/Capfile @@ -3,6 +3,9 @@ # the COPYRIGHT file. load 'deploy' if respond_to?(:namespace) # cap2 differentiator +# Precompile assets in deployment (for Capistrano >= 2.8.0) +load 'deploy/assets' if respond_to?(:namespace) + Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } load 'config/deploy' # remove this line to skip loading any of the default tasks