From 7db83b04d0e170a6b9ed56597a1327c68c04bfec Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 3 Oct 2019 15:58:20 -0700 Subject: Revert "Simplify bin_path_spec.rb guard" This reverts commit a56d742e69aa8a3a1fe92fc515d93f6e51cf5fbc. I was checking the CI result of the wrong revision. It actually worked fine https://ci.appveyor.com/project/ruby/ruby/builds/27866303. Never mind... --- spec/ruby/library/rubygems/gem/bin_path_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/ruby/library/rubygems/gem/bin_path_spec.rb b/spec/ruby/library/rubygems/gem/bin_path_spec.rb index 67b3e042c2..ab4ea9397e 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 - platform_is_not :windows do + guard_not -> { platform_is :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 -- cgit v1.2.3