summaryrefslogtreecommitdiff
path: root/lib/tasks/gitlab/gitaly.rake
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-08 09:39:49 +0000
committerRémy Coutable <remy@rymai.me>2017-08-08 09:39:49 +0000
commitfeb8974cc87455328dea708be556e41b59e8ba26 (patch)
treeb19b97094cd9296b049dcd2112cb9d1fd4e38edc /lib/tasks/gitlab/gitaly.rake
parent079df3121409198bcba232a1678125a6c83118de (diff)
parent21937a157d435025d4ae0cf514fe7273302e1004 (diff)
downloadgitlab-ce-feb8974cc87455328dea708be556e41b59e8ba26.tar.gz
Merge branch '35941-fix-testing-issue-following-gitaly-install-fix' into 'master'
Unset the `RUBYOPT` env variable before installing `gitaly-ruby` Closes #35941 and #35967 See merge request !13313
Diffstat (limited to 'lib/tasks/gitlab/gitaly.rake')
-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 7d35e0df53a..aaf00bd703a 100644
--- a/lib/tasks/gitlab/gitaly.rake
+++ b/lib/tasks/gitlab/gitaly.rake
@@ -21,7 +21,7 @@ namespace :gitlab do
create_gitaly_configuration
# In CI we run scripts/gitaly-test-build instead of this command
unless ENV['CI'].present?
- Bundler.with_original_env { run_command!([command]) }
+ Bundler.with_original_env { run_command!(%w[/usr/bin/env -u RUBYOPT] + [command]) }
end
end
end