Sha256: 7265a068c4b9c8775fdd61fffdc82269dad0450a68b1f599118b08d168eec84a

Contents?: true

Size: 323 Bytes

Versions: 6

Compression:

Stored size: 323 Bytes

Contents

namespace :deploy do
  desc 'build missing paperclip styles'
  task :build_missing_paperclip_styles do
    on roles(:app) do
      execute "cd #{current_path}; RAILS_ENV=production bundle exec rake paperclip:refresh:missing_styles"
    end
  end
end

after('deploy:compile_assets', 'deploy:build_missing_paperclip_styles')

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
caploy-2.0.0 lib/caploy/recipes/paperclip.rb
caploy-1.0.4 lib/caploy/recipes/paperclip.rb
caploy-1.0.3 lib/caploy/recipes/paperclip.rb
caploy-1.0.2 lib/caploy/recipes/paperclip.rb
caploy-1.0.1 lib/caploy/recipes/paperclip.rb
caploy-1.0.0 lib/caploy/recipes/paperclip.rb