From a30cad00a2b126476a4c9141a09843c0f5ccf37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Thu, 5 Jun 2025 09:24:14 -1000 Subject: [PATCH] Do not add a dependency on syslog for JRuby JRuby has its own syslog implementation and adding support for JRuby in the syslog gem is still an open issue. Ignore this runtime dependency if the platform is JRuby to allow bundling in JRuby. --- puppet.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet.gemspec b/puppet.gemspec index 848875808d..78bcc35f18 100644 --- a/puppet.gemspec +++ b/puppet.gemspec @@ -34,7 +34,7 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency('racc', '~> 1.5') spec.add_runtime_dependency('scanf', '~> 1.0') spec.add_runtime_dependency('semantic_puppet', '~> 1.0') - spec.add_runtime_dependency('syslog', '>= 0.1', '< 0.3') + spec.add_runtime_dependency('syslog', '>= 0.1', '< 0.3') unless defined?(JRUBY_VERSION) platform = spec.platform.to_s if platform == 'universal-darwin'