summaryrefslogtreecommitdiff
path: root/lib/chef/knife/core/object_loader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/core/object_loader.rb')
-rw-r--r--lib/chef/knife/core/object_loader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/object_loader.rb b/lib/chef/knife/core/object_loader.rb
index d87b3eaf71..94b956be04 100644
--- a/lib/chef/knife/core/object_loader.rb
+++ b/lib/chef/knife/core/object_loader.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require "ffi_yajl"
+require "ffi_yajl" unless defined?(FFI_Yajl)
require_relative "../../util/path_helper"
require_relative "../../data_bag_item"