Skip to content

Set Unicorn environment according to RACK_ENV#56

Open
Tensho wants to merge 1 commit intotablexi:masterfrom
Tensho:rails-rack-env
Open

Set Unicorn environment according to RACK_ENV#56
Tensho wants to merge 1 commit intotablexi:masterfrom
Tensho:rails-rack-env

Conversation

@Tensho
Copy link
Copy Markdown

@Tensho Tensho commented May 9, 2017

There are plenty of non-Rails applications (Grape, Sinatra, etc.) that could be served with Unicorn help. It seems to me relying on RACK_ENV as the more general sign may help in such a case. Also, I don't understand the purpose of "deployment" default option. I mean I understand, that it corrects default rack stack to use the only Rack::CommonLogger middleware, but I have never seen such setup in live. Usually people run staging or production envs within deployment.

@Tensho
Copy link
Copy Markdown
Author

Tensho commented Feb 16, 2018

@ahorner, Please, could you give any idea, does it make sense?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant