summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-08-21 10:44:59 -0700
committerGitHub <noreply@github.com>2020-08-21 10:44:59 -0700
commit27645457ddf6734428ad0d746c689cb24c9feb9b (patch)
tree0e66b3acf39071d79328733a5205eae57b870190 /Rakefile
parentc31e7b4960a8c50317248baeceb38b89f4205fff (diff)
parent128e40d7f932bce64fa2862a4639dffdade15a78 (diff)
downloadchef-zero-27645457ddf6734428ad0d746c689cb24c9feb9b.tar.gz
Merge pull request #303 from chef/requires
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."