capistrano-db-tasks icon indicating copy to clipboard operation
capistrano-db-tasks copied to clipboard

Fix local to remote dirs path

Open ritaritual opened this issue 7 years ago • 1 comments
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! :)

ritaritual avatar Feb 04 '18 13:02 ritaritual

Sorry! I found that this patch produce /shared/public/storage/storage on my remote... I fixed it with / right after #{local_dirs}/

ritaritual avatar Feb 05 '18 02:02 ritaritual