Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Setting RACK_ENV makes no sense #73

Closed
leshik opened this issue Sep 18, 2018 · 0 comments
Closed

Setting RACK_ENV makes no sense #73

leshik opened this issue Sep 18, 2018 · 0 comments

Comments

@leshik
Copy link

leshik commented Sep 18, 2018

Setting RACK_ENV to values other than development, deployment, or none makes no sense, as per rackup howto. Setting it to production or test is equal to setting it to none (disabling logging middleware), so it's not the RAILS_ENV replacement for rack apps.
Here are some explanations.
I'm not sure how this should be addressed, maybe using the different env var would be better.

@jcs jcs closed this as completed in e6f7e9e Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant