summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorJason Barnett <jason.w.barnett@gmail.com>2021-09-21 12:42:53 -0600
committerJason Barnett <jason.w.barnett@gmail.com>2021-09-21 12:45:25 -0600
commitb6d23f485f2a34ce119cab6e033eaa4ad0f32a55 (patch)
treef6e7c0589e8545b50b3d214a7803fcb7859b89d8 /tasks
parent77a27db0403c6fe482d8145d9a5e77a75356f495 (diff)
downloadchef-b6d23f485f2a34ce119cab6e033eaa4ad0f32a55.tar.gz
Use bundle config set path
Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
Diffstat (limited to 'tasks')
-rw-r--r--tasks/rspec.rb3
1 files changed, 2 insertions, 1 deletions
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