summaryrefslogtreecommitdiff
path: root/spec/tasks
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-04 16:05:41 +0200
committerRémy Coutable <remy@rymai.me>2017-08-04 16:10:52 +0200
commit201ce2cb55f1d016cdcb0653d9f9a11a8fec358d (patch)
treeaaa5c73b252bd99ffa37d6e936b294e9cc12220c /spec/tasks
parent805a28e6a134b59ab3efa3ff6d6b0e16bd24c950 (diff)
downloadgitlab-ce-201ce2cb55f1d016cdcb0653d9f9a11a8fec358d.tar.gz
Unset the RUBYOPT env variable before installing gitaly-ruby
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/tasks')
-rw-r--r--spec/tasks/gitlab/gitaly_rake_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/tasks/gitlab/gitaly_rake_spec.rb b/spec/tasks/gitlab/gitaly_rake_spec.rb
index 695231c7d15..29eec9009bd 100644
--- a/spec/tasks/gitlab/gitaly_rake_spec.rb
+++ b/spec/tasks/gitlab/gitaly_rake_spec.rb
@@ -41,7 +41,7 @@ describe 'gitlab:gitaly namespace rake task' do
end
describe 'gmake/make' do
- let(:command_preamble) { %w[/usr/bin/env -u BUNDLE_GEMFILE] }
+ let(:command_preamble) { %w[/usr/bin/env -u BUNDLE_GEMFILE -u RUBYOPT] }
before(:all) do
@old_env_ci = ENV.delete('CI')