diff --git a/test/rubygems/test_gem_ext_cmake_builder.rb b/test/rubygems/test_gem_ext_cmake_builder.rb index 4af7de0da8..b3f9241a96 100644 --- a/test/rubygems/test_gem_ext_cmake_builder.rb +++ b/test/rubygems/test_gem_ext_cmake_builder.rb @@ -12,6 +12,7 @@ class TestGemExtCmakeBuilder < Gem::TestCase begin _, status = Open3.capture2e('cmake') + skip 'cmake not present' unless status.success? rescue Errno::ENOENT skip 'cmake not present' end