From 39c2a2f3c468432b015d0b0b612caedd077f58c1 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Wed, 20 Mar 2024 12:36:21 +0100 Subject: [PATCH] Remove workaround for truffleruby, 24.0 is out and has the fix * See https://github.com/oracle/truffleruby/issues/3303#issuecomment-1836083623 --- ext/puma_http11/extconf.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/puma_http11/extconf.rb b/ext/puma_http11/extconf.rb index 0751480feb..64accba3dd 100644 --- a/ext/puma_http11/extconf.rb +++ b/ext/puma_http11/extconf.rb @@ -10,10 +10,8 @@ unless ENV["PUMA_DISABLE_SSL"] # don't use pkg_config('openssl') if '--with-openssl-dir' is used - # also looks within the Ruby build for directory info has_openssl_dir = dir_config('openssl').any? || - RbConfig::CONFIG['configure_args']&.include?('openssl') || - Dir.exist?("#{RbConfig::TOPDIR}/src/main/c/openssl") # TruffleRuby + RbConfig::CONFIG['configure_args']&.include?('openssl') found_pkg_config = !has_openssl_dir && pkg_config('openssl')