summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-08-20 00:23:42 -0700
committerTim Smith <tsmith84@gmail.com>2020-08-20 00:23:42 -0700
commit128e40d7f932bce64fa2862a4639dffdade15a78 (patch)
treee54faeb0fb4874a817bdb3156f126099913188ce /Rakefile
parent7cd521c4eca28cf24a1ae15f77d983db2be2e6a0 (diff)
downloadchef-zero-128e40d7f932bce64fa2862a4639dffdade15a78.tar.gz
Additional gatesrequires
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 2dd1b28..b7342fa 100644
--- a/Rakefile
+++ b/Rakefile
@@ -61,7 +61,7 @@ rescue LoadError
end
begin
- require "yard"
+ require "yard" unless defined?(YARD)
YARD::Rake::YardocTask.new(:docs)
rescue LoadError
puts "yard is not available. bundle install first to make sure all dependencies are installed."