Set GEM_HOME and GEM_PATH variables in rake-tasks.sh

This commit is contained in:
Pirate Praveen 2022-03-14 16:03:16 +05:30
parent 862267bc5d
commit 5fa21f7a2d

View file

@ -6,6 +6,9 @@ set -e
. /etc/gitlab/gitlab-debian.conf . /etc/gitlab/gitlab-debian.conf
export DB RAILS_ENV export DB RAILS_ENV
export GEM_HOME=/var/lib/gitlab/.gem
export GEM_PATH=$(gem env gempath)
cd /usr/share/gitlab cd /usr/share/gitlab
# Remove all lines from Gemfile.lock # Remove all lines from Gemfile.lock