Skip to content

Commit

Permalink
updated ruby version condition
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Jul 23, 2024
1 parent 90f77e9 commit 5fb4548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chef-apply.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "train-winrm" # winrm transports were pulled out into this plugin
spec.add_dependency "pastel" # A color library
spec.add_dependency "tty-spinner" # Pretty output for status updates in the CLI
if RUBY_VERSION.match?(/3.3/)
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.1.0")
spec.add_dependency "chef", "~> 18.0"
else
spec.add_dependency "chef", ">= 16.0"
Expand Down

0 comments on commit 5fb4548

Please sign in to comment.