capistrano/capistrano — Issue #147: cap deploy:setup - Errno::EHOSTDOWN: Host is down - connect(2)
Author: patrickdet
Created: 2012-01-22 17:13:07+00:00
State: open

Not sure if this is a bug or if I am doing it wrong.

So whenever I run `cap deploy:setup` I get the following:

```
* executing `deploy:setup'
* executing "mkdir -p /var/www/projectdir /var/www/projectdir/releases /var/www/projectdir/shared /var/www/projectdir/shared/system /var/www/projectdir/shared/log /var/www/projectdir/shared/pids"
servers: ["foo.com"]
connection failed for: foo.com (Errno::EHOSTDOWN: Host is down - connect(2))
```

When I run `cap deploy` just to see if the host is really down I do not get that error only a message letting me know some folder cannot be created because `cap deploy:setup` was't executed yet so with `cap deploy` I am definitely on the server so the `EHOSTDOWN` is incorrect.

I am on:
- ruby 1.9.2p290
- capistrano 2.9.0