Make `bin/web_puma` consider RAILS_ENV
This commit is contained in:
parent
c36b12d7f1
commit
e2e878bdd8
|
@ -10,7 +10,7 @@ puma_config="$app_root/config/puma.rb"
|
||||||
|
|
||||||
spawn_puma()
|
spawn_puma()
|
||||||
{
|
{
|
||||||
exec bundle exec puma --config "${puma_config}" "$@"
|
exec bundle exec puma --config "${puma_config}" --environment "$RAILS_ENV" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
get_puma_pid()
|
get_puma_pid()
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Make `bin/web_puma` consider RAILS_ENV
|
||||||
|
merge_request: 31378
|
||||||
|
author:
|
||||||
|
type: fixed
|
Loading…
Reference in New Issue