Sha256: a0a82520763df4f340dcc828877c57c189e02917982d6742d0526813d8366c38

Contents?: true

Size: 318 Bytes

Versions: 3

Compression:

Stored size: 318 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'

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ms_deploy-0.0.7 lib/ms_deploy/recipes/deploy/assets.rb
ms_deploy-0.0.6 lib/ms_deploy/recipes/deploy/assets.rb
ms_deploy-0.0.5 lib/ms_deploy/recipes/deploy/assets.rb