1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib
Jacob Herrington ff6f08c87a Add support for APP_ENV environment variable
Using APP_ENV to set the environment is supported by Sinatra and
Sidekiq, so it makes sense to support the same behavior in Puma.

Like Sidekiq, APP_ENV will take precedence over RACK_ENV and RAILS_ENV.
APP_ENV defers to any argument passed via the --environment flag.

Closes https://github.com/puma/puma/issues/2692
2021-09-20 10:12:38 -05:00
..
puma Add support for APP_ENV environment variable 2021-09-20 10:12:38 -05:00
rack/handler Require rack/common_logger only if :verbose is true (#2547) 2021-02-03 14:34:11 -07:00
puma.rb Rename Puma::JSON to Puma::JSONSerialization (#2640) 2021-06-09 08:55:45 -06:00