]> git.pld-linux.org Git - packages/gitlab-ce.git/blame - gitlab-rake.sh
update gitlab-shell dep
[packages/gitlab-ce.git] / gitlab-rake.sh
CommitLineData
97728af5 1#!/bin/sh
1e201ece
ER
2# Frontend to Gitlab Rake tasks
3#
4# http://docs.gitlab.com/ce/raketasks/
5#
97728af5
ER
6set -e
7
8# Unset ENV variables that might interfere with
9# omnibus-gitlab ruby env (looking at you rvm)
10for ruby_env_var in RUBYOPT \
11 BUNDLE_BIN_PATH \
12 BUNDLE_GEMFILE \
13 GEM_PATH \
14 GEM_HOME
15do
16 unset $ruby_env_var
17done
18
19cd /var/lib/gitlab
caa3e1fa 20exec sudo -u git bundle exec rake RAILS_ENV=production "$@"
This page took 0.086028 seconds and 4 git commands to generate.