summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/ruby/library/rbconfig/rbconfig_spec.rb2
1 files changed, 1 insertions, 1 deletions
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']