diff --git a/spec/bundler/install/gemfile/lockfile_spec.rb b/spec/bundler/install/gemfile/lockfile_spec.rb index b9545b91c2..d656bf563f 100644 --- a/spec/bundler/install/gemfile/lockfile_spec.rb +++ b/spec/bundler/install/gemfile/lockfile_spec.rb @@ -30,7 +30,7 @@ RSpec.describe "bundle install with a lockfile present" do expect(bundled_app("evals").read.lines.to_a.size).to eq(2) end - context "when the gem is not installed" do + context "when the gem is not installed", :ruby_repo do before { FileUtils.rm_rf ".bundle" } it "does not evaluate the gemfile twice" do