Sha256: 55cf2ef1d7b9cf04c93de4aab473ea26015c46bddc902af5cbf4298eaa0b93a0

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

Capistrano::Configuration.instance.load do

  namespace :deploy do
    namespace :assets do
      desc "Compile assets"
      task :compile, :roles => :web do
        run "cd #{release_path}; RAILS_ENV=#{rails_env} #{rake} assets:precompile"
      end

      after 'deploy', 'deploy:assets:compile'
      after 'deploy:migrations', 'deploy:assets:compile'

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ms_deploy-0.0.10 lib/ms_deploy/recipes/deploy/assets.rb