diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-08-21 11:06:42 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-08-21 11:06:42 -0700 |
commit | 22f6e84d34eecf8d478c49f9f3369d2b71933a27 (patch) | |
tree | 589f69f80f71a5e8cfce326214f7d1a388d4481c /Rakefile | |
parent | d3e3be2979fe9036cd478857952281540afa36f2 (diff) | |
download | mixlib-authentication-22f6e84d34eecf8d478c49f9f3369d2b71933a27.tar.gz |
Optimize our requires
Avoid requiring things that are already defined. Rubygems is very slow at traversing the filesystem.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,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." |