File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 37
37
RUBY
38
38
end
39
39
40
- platform_is_not :windows do
41
- guard -> { RbConfig ::TOPDIR } do
42
- it "libdir/LIBRUBY_SO is the path to libruby and it exists if and only if ENABLE_SHARED" do
43
- libdir = RbConfig ::CONFIG [ RbConfig ::CONFIG [ 'libdirname' ] || 'libdir' ]
44
- libruby_so = "#{ libdir } /#{ RbConfig ::CONFIG [ 'LIBRUBY_SO' ] } "
45
- case RbConfig ::CONFIG [ 'ENABLE_SHARED' ]
46
- when 'yes'
47
- File . should . exist? ( libruby_so )
48
- when 'no'
49
- File . should_not . exist? ( libruby_so )
50
- end
40
+ guard -> { RbConfig ::TOPDIR } do
41
+ it "libdir/LIBRUBY_SO is the path to libruby and it exists if and only if ENABLE_SHARED" do
42
+ libdir = RbConfig ::CONFIG [ RbConfig ::CONFIG [ 'libdirname' ] || 'libdir' ]
43
+ libruby_so = "#{ libdir } /#{ RbConfig ::CONFIG [ 'LIBRUBY_SO' ] } "
44
+ case RbConfig ::CONFIG [ 'ENABLE_SHARED' ]
45
+ when 'yes'
46
+ File . should . exist? ( libruby_so )
47
+ when 'no'
48
+ File . should_not . exist? ( libruby_so )
51
49
end
52
50
end
53
51
end
You can’t perform that action at this time.
0 commit comments