Hi David,

Still struggling?

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

On 9 December 2015 at 19:06, David Resnick <abune...@gmail.com> wrote:

> I'm new to Capistrano and am trying to figure something out.
>
> I have a codebase that until now has been a Ruby on Rails application
> (using Ruby 2.1.2), using Capistrano to deploy.
>
> Now I'd also like to run the codebase as a Ruby script based service (no
> Rails and not listening for HTTP requests). This version of the service
> will run using JRuby.
>
> Both applications use the same Gemfile, with lot's of code in common
> between the 2 apps.
>
> I'm trying to figure out how to expand the Capfile to support the
> additional deployment configuration.
>
> A direction I'm looking at is to deploy using a new role in the Capfile.
> This new role will have quite a few differences from the existing one, e.g.
> how it restarts the service, where the service is installed.
>
> My questions are: does this approach make any sense? Can anyone point out
> a more complex Capfile that shows some part of what I've described?
>
> In the meantime, I’m looking at adding the new role in a new namespace.
>
> Thanks,
> David
>
> Versions:
>
>    - Ruby
>       - ruby 2.1.2 + jruby 9.0.4.0
>    - Capistrano
>       - 3.4.0
>
> --
> 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/7c534098-5080-4f02-9ef6-125fc2d498a5%40googlegroups.com
> <https://groups.google.com/d/msgid/capistrano/7c534098-5080-4f02-9ef6-125fc2d498a5%40googlegroups.com?utm_medium=email&utm_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_%2BVLXsC%3D8QzB2TF%3DDnfg1%2B7vSEN-N9idDwTu948zGdCwWWOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to