Skip to content

Commit

Permalink
Raise minimum required ruby version
Browse files Browse the repository at this point in the history
The service discovery plugin helper use Array#prepend, it means that
the ruby version must be 2.5 or later precisely.

   fluentd.work/lib/fluent/plugin_helper/service_discovery.rb:71:in
   `service_discovery_configure': undefined method `prepend' for
   []:Array (NoMethodError) from
   /work/fluent/fluentd/fluentd.work/lib/fluent/plugin/out_

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Sep 5, 2023
1 parent d5685ad commit a933dff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Fluentd: Open-Source Log Collector

### Prerequisites

- Ruby 2.4 or later
- Ruby 2.5 or later
- git

`git` should be in `PATH`. On Windows, you can use `Github for Windows` and `GitShell` for easy setup.
Expand Down
2 changes: 1 addition & 1 deletion fluentd.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.license = "Apache-2.0"

gem.required_ruby_version = '>= 2.4'
gem.required_ruby_version = '>= 2.5'

gem.add_runtime_dependency("bundler")
gem.add_runtime_dependency("msgpack", [">= 1.3.1", "< 2.0.0"])
Expand Down

0 comments on commit a933dff

Please sign in to comment.