Set GEM_PATH for using embedded gems
This commit is contained in:
parent
e93789a259
commit
74d498596b
1 changed files with 3 additions and 0 deletions
3
debian/gitlab.postinst
vendored
3
debian/gitlab.postinst
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue