Skip to content

Commit 059d79f

Browse files
committed
windows: add workaround for unexpected exception
Since logger 1.6.3 or later, there is a bug that it cause unexpected exception (no implicit conversion of Integer into String (TypeError)) on windows. So hold on 1.6.2 for a while. See ruby/logger#107 Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 611ccee commit 059d79f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fluentd.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ Gem::Specification.new do |gem|
4040
gem.add_runtime_dependency("drb", ["~> 2.2"])
4141

4242
# gems that aren't default gems as of Ruby 3.5
43-
gem.add_runtime_dependency("logger", ["~> 1.6"])
43+
# logger 1.6.3 or later cause bug on windows,
44+
# hold on 1.6.2 for a while. see https://github.com/ruby/logger/issues/107
45+
gem.add_runtime_dependency("logger", ["~> 1.6.2"])
4446

4547
# build gem for a certain platform. see also Rakefile
4648
fake_platform = ENV['GEM_BUILD_FAKE_PLATFORM'].to_s

0 commit comments

Comments
 (0)