Commit 0eb33104 by Victor Ng KP Committed by Tute Costa

Use Paperclip namespace as Capistrano task (#2227)

parent 2db36782
...@@ -851,9 +851,9 @@ Paperclip.registered_attachments_styles_path = '/tmp/config/paperclip_attachment ...@@ -851,9 +851,9 @@ Paperclip.registered_attachments_styles_path = '/tmp/config/paperclip_attachment
Here is an example for Capistrano: Here is an example for Capistrano:
```ruby ```ruby
namespace :deploy do namespace :paperclip do
desc "build missing paperclip styles" desc "build missing paperclip styles"
task :build_missing_paperclip_styles do task :build_missing_styles do
on roles(:app) do on roles(:app) do
within release_path do within release_path do
with rails_env: fetch(:rails_env) do with rails_env: fetch(:rails_env) do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment