Commit e2e878bd authored by Aleksei Lipniagov's avatar Aleksei Lipniagov

Make `bin/web_puma` consider RAILS_ENV

parent c36b12d7
...@@ -10,7 +10,7 @@ puma_config="$app_root/config/puma.rb" ...@@ -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()
......
---
title: Make `bin/web_puma` consider RAILS_ENV
merge_request: 31378
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment