From a56d742e69aa8a3a1fe92fc515d93f6e51cf5fbc Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 3 Oct 2019 15:33:10 -0700 Subject: [PATCH] Simplify bin_path_spec.rb guard For some reason the guard_not seems not working as expected https://ci.appveyor.com/project/ruby/ruby/builds/27866153/job/v6wa6q6p7b7n7r37 --- spec/ruby/library/rubygems/gem/bin_path_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ruby/library/rubygems/gem/bin_path_spec.rb b/spec/ruby/library/rubygems/gem/bin_path_spec.rb index ab4ea9397e..67b3e042c2 100644 --- a/spec/ruby/library/rubygems/gem/bin_path_spec.rb +++ b/spec/ruby/library/rubygems/gem/bin_path_spec.rb @@ -11,7 +11,7 @@ describe "Gem.bin_path" do ENV['BUNDLE_GEMFILE'] = @bundle_gemfile end - guard_not -> { platform_is :windows } do + platform_is_not :windows do it "finds executables of default gems, which are the only files shipped for default gems" do # For instance, Gem.bin_path("bundler", "bundle") is used by rails new