capistrano-db-tasks
capistrano-db-tasks copied to clipboard
Fix local to remote dirs path
trafficstars
.1 Firstly ./ on my local env ( Sierra 10.13.2 and Ruby 2.5.0 ) produce this error:
rsync: link_stat "/Users/margo/project/./public/storage" failed: No such file or directory (2)
.2 Then, I think we should copy files from local_dirs to dirs, and not vice versa.
P.S. thanks for this awesome useful gem! :)
Sorry! I found that this patch produce /shared/public/storage/storage on my remote...
I fixed it with / right after #{local_dirs}/