Sha256: 5211b993f91bc72b22380ef6b49a99e81c431b96a1f5a67972bafdcd527eaecf

Contents?: true

Size: 427 Bytes

Versions: 45

Compression:

Stored size: 427 Bytes

Contents

module CapistranoDeployManagement
  module Paperclip
    def self.load_into(configuration)
      configuration.load do

        namespace :paperclip do
          desc 'Build missing paperclip styles.'
          task :build_missing_paperclip_styles, roles: :app do
            run "cd #{current_path}; RAILS_ENV=production bundle exec rake paperclip:refresh:missing_styles"
          end
        end

      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
capistrano-deploy-management-0.1.5 lib/capistrano-deploy-management/paperclip.rb
capistrano-deploy-management-0.1.4 lib/capistrano-deploy-management/paperclip.rb
capistrano-deploy-management-0.1.3 lib/capistrano-deploy-management/paperclip.rb
capistrano-deploy-management-0.1.2 lib/capistrano-deploy-management/paperclip.rb
capistrano-deploy-management-0.1.1 lib/capistrano-deploy-management/paperclip.rb