Sha256: 89145d698b645a101106f06ef21c9c29b57f2740f8c30755dd59055c8d877a6f

Contents?: true

Size: 362 Bytes

Versions: 6

Compression:

Stored size: 362 Bytes

Contents

Capistrano::Configuration.instance.load do

  namespace :deploy do
    desc "build missing paperclip styles"
    task :build_missing_paperclip_styles, :roles => :app do
      run "cd #{release_path}; RAILS_ENV=production bundle exec rake paperclip:refresh:missing_styles"
    end
  end

  after("deploy:update_code", "deploy:build_missing_paperclip_styles")
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ms_deploy-0.1.6 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.1.5 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.1.4 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.1.3 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.1.2 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.1.1 lib/ms_deploy/recipes/paperclip.rb