summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-01-21 20:10:04 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2021-01-21 20:10:04 -0800
commit722528ba9d30abf7e6c116b650dad4319b0df8ea (patch)
tree37b60005e17d4f5982b07ac494a5722e83a40ad9
parent85183f84c15c9af8d545814882874a7484a9e77b (diff)
downloadchef-722528ba9d30abf7e6c116b650dad4319b0df8ea.tar.gz
Add missing gate
Need this for the dev gem removal backport Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/version_string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/version_string.rb b/lib/chef/version_string.rb
index 8da5df570a..c98d4c9a75 100644
--- a/lib/chef/version_string.rb
+++ b/lib/chef/version_string.rb
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-require "chef-utils/version_string"
+require "chef-utils/version_string" unless defined?(ChefUtils::VersionString)
class Chef
VersionString = ChefUtils::VersionString