Make `bin/web_puma` consider RAILS_ENV

This commit is contained in:
Aleksei Lipniagov 2019-08-01 15:28:45 +03:00
parent c36b12d7f1
commit e2e878bdd8
2 changed files with 6 additions and 1 deletions

View File

@ -10,7 +10,7 @@ puma_config="$app_root/config/puma.rb"
spawn_puma()
{
exec bundle exec puma --config "${puma_config}" "$@"
exec bundle exec puma --config "${puma_config}" --environment "$RAILS_ENV" "$@"
}
get_puma_pid()

View File

@ -0,0 +1,5 @@
---
title: Make `bin/web_puma` consider RAILS_ENV
merge_request: 31378
author:
type: fixed