From 7072e0324ec7c083c46b7e6f566efa6a74206a07 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 28 Mar 2020 14:57:17 +0900 Subject: Guard RbConfig spec unless installed --- spec/ruby/library/rbconfig/rbconfig_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/ruby/library/rbconfig/rbconfig_spec.rb b/spec/ruby/library/rbconfig/rbconfig_spec.rb index be767536fb..4decb91c50 100644 --- a/spec/ruby/library/rbconfig/rbconfig_spec.rb +++ b/spec/ruby/library/rbconfig/rbconfig_spec.rb @@ -37,7 +37,7 @@ describe 'RbConfig::CONFIG' do RUBY end - platform_is_not :windows do + guard -> {RbConfig::TOPDIR} do it "libdir/LIBRUBY_SO is the path to libruby and it exists if and only if ENABLE_SHARED" do if RbConfig::CONFIG['ENABLE_SHARED'] == 'yes' libdir = RbConfig::CONFIG['libdir'] -- cgit v1.2.3