Yeah, that's a good idea when they're a small extra piece.

In this case, they're distinct apps with their own DBs (to postgres via
sequel), and so I want each one to have separate DB credentials, to run as
a separate unix user, etc.

- Ben



On 1 May 2013 10:35, Andrew Harvey <synap...@gmail.com> wrote:

> I'm a big fan of using config.ru to mount my rack apps next to my rails
> app where it's useful as well.
>
> I've only used it when taking a path and routing to that, so if need to
> work by domain, then a separate unicorn instance is probably the go.
>
> A.
>
> On 30/04/2013, at 5:20 PM, Ben Hoskings <b...@hoskings.net> wrote:
>
> We run two production rack/sinatra apps at TC. I recommend nginx + unicorn.
>
> This is how I do it (it's badly named; it's not rails-specific):
> https://github.com/conversation/babushka-deps/blob/master/rails.rb#L1-L4
>
> - Ben
>
>
>
> On 1 May 2013 10:00, Steve H <st...@kotiri.com> wrote:
>
>> I've had good luck with Unicorn. I use it with nginx but Apache will work
>> equally well, as you just reverse proxy a port or unix socket.
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby or Rails Oceania" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to rails-oceania+unsubscr...@googlegroups.com.
>> To post to this group, send email to rails-oceania@googlegroups.com.
>> Visit this group at http://groups.google.com/group/rails-oceania?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Cheers
> Ben
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rails-oceania+unsubscr...@googlegroups.com.
> To post to this group, send email to rails-oceania@googlegroups.com.
> Visit this group at http://groups.google.com/group/rails-oceania?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rails-oceania+unsubscr...@googlegroups.com.
> To post to this group, send email to rails-oceania@googlegroups.com.
> Visit this group at http://groups.google.com/group/rails-oceania?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Cheers
Ben

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rails-oceania+unsubscr...@googlegroups.com.
To post to this group, send email to rails-oceania@googlegroups.com.
Visit this group at http://groups.google.com/group/rails-oceania?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to