[capistrano-mailing-list] upload command causes Errno::EISDIR: Is a directory error

2015-04-01 Thread JS
Hello,

I try to upload a directory to my server on deploy:updated.

The command 

upload! '/path/to/my/folder', '/server/path/for/staging', recursive: true

causes the error: 

Errno::EISDIR: Is a directory - 
/vagrant-nfs-aviationexperts.dev/web/app/themes/aviationexperts/dist

The whole example I try to get running is 
here: https://gist.github.com/swalkinshaw/9e4556d4b0c402eba29a


Versions:

   - ruby 1.9.3p484
   - capistrano-3.4.0

Platform:

   - Linux version 3.13.0-35-generic (buildd@panlong) (gcc version 4.8.2 
   (Ubuntu 4.8.2-19ubuntu1) )

-- 
You received this message because you are subscribed to the Google Groups 
Capistrano group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capistrano+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/15e91645-c87b-4ebf-9f07-221767b53186%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [capistrano-mailing-list] upload command causes Errno::EISDIR: Is a directory error

2015-04-01 Thread Lee Hambley
Just FYI more docs (`upload!` comes from SSHKit) here:
https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#upload-a-directory-of-files

The only think I can suggest is to experiment with trailing slashes on your
paths, but otherwise I can't imagine what the problem is. I *suspect* that
the problem happens earlier, as at least the ErrnoEISDIR doesn't come from
`upload!` itself, but you haven't included a backtrace, so I can't see that
for sure.

Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667

On 1 April 2015 at 13:26, JS schwenk.johan...@googlemail.com wrote:

 Hello,


 I try to upload a directory to my server on deploy:updated.

 The command

 upload! '/path/to/my/folder', '/server/path/for/staging', recursive: true

 causes the error:

 Errno::EISDIR: Is a directory - /path/to/my/folder

 The whole example I try to get running is here:
 https://gist.github.com/swalkinshaw/9e4556d4b0c402eba29a


 Versions:

- ruby 1.9.3p484
- capistrano-3.4.0

 Platform:

- Linux version 3.13.0-35-generic (buildd@panlong) (gcc version 4.8.2
(Ubuntu 4.8.2-19ubuntu1) )

  --
 You received this message because you are subscribed to the Google Groups
 Capistrano group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to capistrano+unsubscr...@googlegroups.com.
 To view this discussion on the web, visit
 https://groups.google.com/d/msgid/capistrano/c9baf364-0ead-403d-b91c-ff5fd5eeac4b%40googlegroups.com
 https://groups.google.com/d/msgid/capistrano/c9baf364-0ead-403d-b91c-ff5fd5eeac4b%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Capistrano group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capistrano+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/CAN_%2BVLWGe8rNhQ4v08_AsZJGXkFSE0M9s7CdfWOQu3oEHq_gcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.