interagent / pliny

An opinionated toolkit for writing excellent APIs in Ruby.
MIT License
802 stars 73 forks source link

The PLINY_ENV default bubbles to RACK_ENV #237

Closed gudmundur closed 8 years ago

gudmundur commented 8 years ago

If PLINY_ENV is left unset on staging or production environments, it causes Puma to override RACK_ENV to development, see here.

What is the motivation behind PLINY_ENV and how should it differ from RACK_ENV? Should it its default be equal to ENV['RACK_ENV']?

dmathieu commented 8 years ago

PLINY_ENV was discussed and introduced in #138

gudmundur commented 8 years ago

@dmathieu Thanks for digging this up.

dmathieu commented 8 years ago

I believe this can be closed.

gudmundur commented 8 years ago

@dmathieu thanks for pointing that out.