Sha256: 6115b4d29e9b0703121bde359c3d909d260b9d568b43b447ddb047326c694407

Contents?: true

Size: 365 Bytes

Versions: 29

Compression:

Stored size: 365 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=#{rails_env} bundle exec rake paperclip:refresh:missing_styles"
    end
  end

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

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
ms_deploy-0.2.5 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.2.4 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.2.3 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.2.2 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.2.1 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.2.0 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.1.9 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.1.8 lib/ms_deploy/recipes/paperclip.rb
ms_deploy-0.1.7 lib/ms_deploy/recipes/paperclip.rb