fnhahg
Last Updated: February 25, 2016
·
2.085K
· subosito
B8d0a61ecf3b9a23540703024875d7b7

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!

Say Thanks
Respond