On Tue, Jul 25, 2017 at 11:40 AM, Ralph Shnelvar <ralphs@dos32.com> wrote:
> My question: Is there a way for Rails to know if it is running under Apache
> or under Webrick?
>
> Background:
> I run my Rails website in two environments
>
> 1) Under webrick
> 2) Under Apache
? "environment" usually refers to one of "development", "test", or
"production".
Also, what does "under Apache" mean? Using Passenger? Or as
a proxy? If the latter, something has to be doing the actual serving
(i.e. puma, unicorn, thin, webrick (not in production!)).
Clarification?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yB%2BVypKUV-z5h6ALU19qU0ZZ2%2BzFMaFkb7eTK0ubhaFYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment