I am still having the same error timichango is having even with using the updated gist. I know this thread is over a year old, but i would really appreciate some help.
cap aborted!
SSHKit::ExecuteError: Exception while executing as serveruser@serverip: scp: ~/apps/myapp/current/web/app/themes/themename/dist: No such file or directory
scp: ~/apps/myapp/current/web/app/themes/themename/dist: No such file or directory
Tasks: TOP => assets:deploy => assets:copy
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as serveruser@serverip: scp: ~/apps/myapp/current/web/app/themes/themename/dist: No such file or directory
It seems to me it is failing right at:
upload! fetch(:local_dist_path).to_s, fetch(:remote_dist_path), recursive: true