bin_path_spec.rb has failed from the beginning

for mswin. This spec is not valid for mswin platform.
https://ci.appveyor.com/project/ruby/ruby/builds/27748774/job/85khngfpc806m5lj
This commit is contained in:
Takashi Kokubun 2019-10-03 14:24:57 -07:00
parent 804672e7b4
commit 182336ccb5
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

View File

@ -11,7 +11,7 @@ describe "Gem.bin_path" do
ENV['BUNDLE_GEMFILE'] = @bundle_gemfile
end
guard_not -> { platform_is :windows and ruby_version_is "2.5"..."2.6" } 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