I've successfully setup capistrano to deploy a rails app through a gateway. 
However since we have a limited number of machines, the public gateway 
server is also running as an app server, which needs to be update during 
deployment. I've tried setting one of the servers under role :app to be 
127.0.0.1 or localhost, which does not work:

set :gateway, "my-gateway.com"
role :app, "127.0.0.1", "192.168.0.11", "192.168.0.12", "192.168.0.13"

What's the right way to express this configuration?

Thanks,
-Tian

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to