Last Updated: February 25, 2016
·
2.239K
· subosito

Handle uploads dir using capistrano (neat way)

Just add below lines to deploy.rb and you'll have automatically setup.

set :uploads_dirs, %w(public/uploads) 
set :shared_children, fetch(:shared_children) + fetch(:uploads_dirs)

Happy deploy!