From 1024a20f1282611fd7b4d0aa2d6e6ca2ceaa4922 Mon Sep 17 00:00:00 2001 From: mwrock Date: Fri, 4 Dec 2020 13:13:47 -0800 Subject: [PATCH] move constraint to gemfile Signed-off-by: mwrock --- Gemfile | 2 ++ mixlib-install.gemspec | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 648749a0..79607125 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,8 @@ source "https://rubygems.org" gemspec +gem "chef-utils", "= 16.6.14" if RUBY_VERSION < "2.6.0" + group :docs do gem "github-markup" gem "redcarpet" diff --git a/mixlib-install.gemspec b/mixlib-install.gemspec index 5a5cc575..e7b607f5 100644 --- a/mixlib-install.gemspec +++ b/mixlib-install.gemspec @@ -17,7 +17,6 @@ Gem::Specification.new do |spec| spec.executables = ["mixlib-install"] spec.require_paths = ["lib"] - spec.add_dependency "chef-utils", "= 16.6.14" if RUBY_VERSION < "2.6.0" spec.add_dependency "mixlib-shellout" spec.add_dependency "mixlib-versioning" spec.add_dependency "thor"