summaryrefslogtreecommitdiff
path: root/bin/web_puma
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-08-02 09:03:39 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-08-02 09:03:39 +0000
commitebdd3a233e1e5dd252eef6c4ba5f1da311fe68e2 (patch)
tree702a5d292a8040b7e0d923a5e0e7ebe2e6584314 /bin/web_puma
parent407de0417d8ecb625e457054a85497f0e640316f (diff)
parente2e878bdd8aa8d93b026234e4b6c873a891d0259 (diff)
downloadgitlab-ce-ebdd3a233e1e5dd252eef6c4ba5f1da311fe68e2.tar.gz
Merge branch 'fix-bin-web-puma-script-to-consider-rails-env' into 'master'
Make `bin/web_puma` consider RAILS_ENV See merge request gitlab-org/gitlab-ce!31378
Diffstat (limited to 'bin/web_puma')
-rwxr-xr-xbin/web_puma2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/web_puma b/bin/web_puma
index 178fe84800d..29d72cd4a41 100755
--- a/bin/web_puma
+++ b/bin/web_puma
@@ -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()