Skip to content

Commit 6fcc677

Browse files
committed
Depend on the syslog gem
Since Ruby 3.4 the syslog gem changed from a default gem to a bundled gem. syslog is used to determine if the system is posix. On Windows it will still fail to load the actual extension so the detection still works.
1 parent 9b88f66 commit 6fcc677

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

puppet.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
3434
spec.add_runtime_dependency('racc', '~> 1.5')
3535
spec.add_runtime_dependency('scanf', '~> 1.0')
3636
spec.add_runtime_dependency('semantic_puppet', '~> 1.0')
37+
spec.add_runtime_dependency('syslog', '>= 0.1', '< 0.3')
3738

3839
platform = spec.platform.to_s
3940
if platform == 'universal-darwin'

0 commit comments

Comments
 (0)