Versions:

   - Ruby: ruby-2.1.5
   - Capistrano: 3.0
   - Rake / Rails / etc (Ruby without Rails)

Platform:

   - Working on....
   - Deploying to...

Logs:

   - Please past logs (as completely as possible to a 3rd party pasting 
   service such as pastie.org)

Files:

   - Capfile
   - deploy.rb
   - Stage files (production.rb, staging.rb)

Question:

I would like to deploy a ruby script, bin/app.rb to multiple servers

zone1.myapp.com, zone2.myapp.com & zone3.myapp.com using Capistrano v3. 
Post deployment, it will need to run as a daemon with a param specific to 
that zone, meaning ...

zone1 should run bundle exec ruby bin/app.rb zone1

zone2 should run bundle exec ruby bin/app.rb zone2

zone3 should run bundle exec ruby bin/app.rb zone3

Is there a way to accomplish this by Capistrano?

[a duplicate 
from, 
http://stackoverflow.com/questions/28445139/capistrano-multi-server-deployment-with-different-parameters]


-- 
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/f7804727-0896-4101-9467-91d7af0f34af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to