summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-07-27 16:35:40 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-07-27 16:35:40 +0200
commit1631ad02fd32f2fb620ba3fa13f0504ae5181356 (patch)
tree609e92cc0539c9bad4225bedc5da82645ded6398 /lib/tasks
parent0ed42f4b3534e652c91e6628c43e09be67423301 (diff)
downloadgitlab-ce-1631ad02fd32f2fb620ba3fa13f0504ae5181356.tar.gz
Support the fact that Gitaly uses bundler
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/gitaly.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/gitaly.rake b/lib/tasks/gitlab/gitaly.rake
index a8db5701d0b..9df07ea8d83 100644
--- a/lib/tasks/gitlab/gitaly.rake
+++ b/lib/tasks/gitlab/gitaly.rake
@@ -19,7 +19,7 @@ namespace :gitlab do
Dir.chdir(args.dir) do
create_gitaly_configuration
- run_command!([command])
+ Bundler.with_original_env { run_command!([command]) }
end
end