Skip to content
Snippets Groups Projects
Commit 12e079dbf316 authored by Robert Marshall's avatar Robert Marshall
Browse files

Merge branch 'sh-suppress-ruby-experimental-warnings' into 'master'

Suppress Ruby experimental features warning messages

See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7137



Merged-by: default avatarRobert Marshall <rmarshall@gitlab.com>
Approved-by: default avatarJason Plum <jplum@gitlab.com>
Approved-by: default avatarRobert Marshall <rmarshall@gitlab.com>
Co-authored-by: default avatarStan Hu <stanhu@gmail.com>
No related branches found
No related tags found
3 merge requests!114heptapod#1394: making 1.0 the oldstable,!110heptapod#1352: merged heptapod branch into heptapod-stable,!106Merged upstream 16.4 branching point into heptapod branch
......@@ -40,4 +40,7 @@
privilege_drop="-u ${gitlab_user}:${gitlab_group}"
fi
exec <%= install_dir %>/embedded/bin/chpst -e <%= install_dir %>/etc/gitlab-rails/env ${privilege_drop} -U ${gitlab_user}:${gitlab_group} <%= install_dir %>/embedded/bin/bundle exec <%= command %>
# Suppress one-line pattern matching warnings: https://gitlab.com/gitlab-org/gitlab/-/issues/420811
rubyopt="RUBYOPT=-W:no-experimental"
exec <%= install_dir %>/embedded/bin/chpst -e <%= install_dir %>/etc/gitlab-rails/env ${privilege_drop} -U ${gitlab_user}:${gitlab_group} /usr/bin/env ${rubyopt} <%= install_dir %>/embedded/bin/bundle exec <%= command %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment