ruby-changes:61248
From: Hiroshi <ko1@a...>
Date: Thu, 14 May 2020 09:11:55 +0900 (JST)
Subject: [ruby-changes:61248] 35bbbc751d (master): clean-up .bundle directory in bundled_app
https://git.ruby-lang.org/ruby.git/commit/?id=35bbbc751d From 35bbbc751d626e1955c87613a5103f0efc0b1942 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Wed, 13 May 2020 22:05:45 +0900 Subject: clean-up .bundle directory in bundled_app diff --git a/spec/bundler/install/gemfile/lockfile_spec.rb b/spec/bundler/install/gemfile/lockfile_spec.rb index d656bf5..42233c4 100644 --- a/spec/bundler/install/gemfile/lockfile_spec.rb +++ b/spec/bundler/install/gemfile/lockfile_spec.rb @@ -30,8 +30,8 @@ RSpec.describe "bundle install with a lockfile present" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/install/gemfile/lockfile_spec.rb#L30 expect(bundled_app("evals").read.lines.to_a.size).to eq(2) end - context "when the gem is not installed", :ruby_repo do - before { FileUtils.rm_rf ".bundle" } + context "when the gem is not installed" do + before { FileUtils.rm_rf bundled_app(".bundle") } it "does not evaluate the gemfile twice" do bundle! :install -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/