Set GEM_HOME and GEM_PATH variables in rake-tasks.sh
This commit is contained in:
parent
862267bc5d
commit
5fa21f7a2d
1 changed files with 3 additions and 0 deletions
3
debian/rake-tasks.sh
vendored
3
debian/rake-tasks.sh
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue