ruby-changes:58114
From: Takashi <ko1@a...>
Date: Fri, 4 Oct 2019 07:59:02 +0900 (JST)
Subject: [ruby-changes:58114] 7db83b04d0 (master): Revert "Simplify bin_path_spec.rb guard"
https://git.ruby-lang.org/ruby.git/commit/?id=7db83b04d0 From 7db83b04d0e170a6b9ed56597a1327c68c04bfec Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> 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... diff --git a/spec/ruby/library/rubygems/gem/bin_path_spec.rb b/spec/ruby/library/rubygems/gem/bin_path_spec.rb index 67b3e042..ab4ea93 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 https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/rubygems/gem/bin_path_spec.rb#L11 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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/