From b6d23f485f2a34ce119cab6e033eaa4ad0f32a55 Mon Sep 17 00:00:00 2001 From: Jason Barnett Date: Tue, 21 Sep 2021 12:42:53 -0600 Subject: Use bundle config set path Signed-off-by: Jason Barnett --- tasks/rspec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tasks') diff --git a/tasks/rspec.rb b/tasks/rspec.rb index 58dab33a0c..18f3318e55 100644 --- a/tasks/rspec.rb +++ b/tasks/rspec.rb @@ -30,7 +30,8 @@ begin puts "--- Running #{gem} specs" Bundler.with_unbundled_env do puts "Executing tests in #{Dir.pwd}:" - sh("bundle install --jobs=3 --retry=3 --path=../vendor/bundle") + sh("bundle config set --local path 'vendor/bundle'") + sh("bundle install --jobs=3 --retry=3") sh("bundle exec rake spec") end end -- cgit v1.2.1