Set GEM_PATH for using embedded gems

This commit is contained in:
Pirate Praveen 2019-03-12 20:43:23 +05:30
parent e93789a259
commit 74d498596b

View file

@ -50,6 +50,9 @@ cp ${gitlab_debian_conf_example} ${gitlab_debian_conf_private}
test -f ${gitlab_debian_conf} && . ${gitlab_debian_conf}
export DB RAILS_ENV
# Required for embedded gems
export GEM_HOME=/var/lib/gitlab/.gem
# Read default values (we cannot do this before gitlab-debian.conf is exported
# as we want to override variables set by gitlab-debian.conf in earlier gitlab
# versions with gitlab-debian.defaults)