By default, Capistrano's deployment recipes assume you are deploying to your web server, your app server, and your database server. (This is because some of the tasks, like deploy:web:disable and deploy:web:enable) assume that your app exists on the web server. If, however, you don't need those tasks, feel free to declare your roles thus:

  role :web, "server1", "server2", :no_release => true

The ":no_release => true" bit tells Capistrano not to deploy files to those servers. Note, though, that because Capistrano was not designed with that deployment scenario in mind, there may be other gotchas; be prepared to override tasks as you discover them failing due to assumptions changing.

- Jamis

On Oct 17, 2007, at 1:02 PM, Nathan Youngman wrote:


Thanks Jamis,

It took me a bit to find where this was set. It is in ~/.macosx/
environment.plist, and since that was the only thing there, I just
removed it. I had to restart as well (or at least a log-off) to get
rid of the setting.

I'm getting a password prompt, but at least it's past that error.

~

A bit unrelated: where does cap deploy:setup create these folders? It
seems to want to put them on the web server, where as our setup is
that the web server (Apache) is just proxying to the app server
running mongrels, where the actual files should exist. Not sure if
that's the best setup, but it's the setup I need to work with. Should
I also need my deploy user on the web server in order to do some
things (restart apache?).

Thanks, Nathan.

On Oct 17, 11:07 am, Jamis Buck <[EMAIL PROTECTED]> wrote:
It looks like you were using SSHKeychain at one point, which sets an
environment variable (SSH_AUTH_SOCK) indicating the socket to use
when querying it. However, SSHKeychain isn't running anymore, but the
environment variable still exists, and things are blowing up when the
agent tries to connect to the socket (which doesn't exist). You might
just try removing that environment variable and trying again.

- Jamis


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to