Sha256: 9d814af70d71e8847ddfa441231b5a6b3b5dd79e8a94e660e76e10d85e74f3cc

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

Capistrano::Configuration.instance.load do

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

      task :symlink, :roles => :web, :except => {:no_release => true} do
        # fixme do nothing, rails 3.1
      end

      after 'deploy:symlink_dependencies', 'deploy:assets:compile'

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ms_deploy-0.0.4 lib/ms_deploy/recipes/deploy/assets.rb
ms_deploy-0.0.3 lib/ms_deploy/recipes/deploy/assets.rb
ms_deploy-0.0.2 lib/ms_deploy/recipes/deploy/assets.rb