Skip to content
代码片段 群组 项目
提交 e2e878bd 编辑于 作者: Aleksei Lipniagov's avatar Aleksei Lipniagov
浏览文件

Make `bin/web_puma` consider RAILS_ENV

上级 c36b12d7
No related branches found
No related tags found
无相关合并请求
...@@ -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
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册