summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/environment_cookbook_versions_endpoint.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-08-13 12:06:46 -0700
committerGitHub <noreply@github.com>2020-08-13 12:06:46 -0700
commitf5111960be44b27191450d510aa5d0199ee57ca4 (patch)
tree60636cf607d266498c3424fa3e24a1ce06ef7a97 /lib/chef_zero/endpoints/environment_cookbook_versions_endpoint.rb
parent9ee2a128e8765aa206c7595e404123737696147b (diff)
parent7e2d8e6a1b23cf459becfaaf0525a930bb2bd9e3 (diff)
downloadchef-zero-f5111960be44b27191450d510aa5d0199ee57ca4.tar.gz
Merge pull request #302 from chef/requires
Optimize requires for non-omnibus installs
Diffstat (limited to 'lib/chef_zero/endpoints/environment_cookbook_versions_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/environment_cookbook_versions_endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/environment_cookbook_versions_endpoint.rb b/lib/chef_zero/endpoints/environment_cookbook_versions_endpoint.rb
index e09d704..4cb8839 100644
--- a/lib/chef_zero/endpoints/environment_cookbook_versions_endpoint.rb
+++ b/lib/chef_zero/endpoints/environment_cookbook_versions_endpoint.rb
@@ -1,4 +1,4 @@
-require "ffi_yajl"
+require "ffi_yajl" unless defined?(FFI_Yajl)
require_relative "../rest_base"
require_relative "../rest_error_response"