From ef659df3a05acdd7d901eb89b8e5133a5c865b33 Mon Sep 17 00:00:00 2001 From: natalia-ss <155972960+natalia-ss@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:05:49 +0100 Subject: [PATCH] Update ruby_raider_spec.rb --- spec/system/ruby_raider_spec.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/spec/system/ruby_raider_spec.rb b/spec/system/ruby_raider_spec.rb index 31bc8d4..f28dc62 100644 --- a/spec/system/ruby_raider_spec.rb +++ b/spec/system/ruby_raider_spec.rb @@ -5,8 +5,11 @@ describe RubyRaider do shared_examples 'execute web frameworks' do |name| it 'runs the tests' do - Dir.chdir(name) do - `bundle exec raider u raid` + system 'gem install bundler' + Bundler.with_unbundled_env do + Dir.chdir(name) do + `bundle exec raider u raid` + end end end end