summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Pop <al3xpop@gmail.com>2015-07-10 11:56:06 +0100
committerSteven Danna <steve@chef.io>2015-08-25 17:30:22 +0100
commit2338f2b85b705c2ac515ca22b16de20b4112e772 (patch)
tree442329606d0307b0be261afd521f76aa68edfae3
parent24987eb5691822a1773847000c41a25ed3828e7f (diff)
downloadchef-2338f2b85b705c2ac515ca22b16de20b4112e772.tar.gz
Fix 'uninitialized constant Chef::DataBagItem' exception for 'from file' subcommands
-rw-r--r--lib/chef/knife/core/object_loader.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/knife/core/object_loader.rb b/lib/chef/knife/core/object_loader.rb
index 698b09ac84..97ca381471 100644
--- a/lib/chef/knife/core/object_loader.rb
+++ b/lib/chef/knife/core/object_loader.rb
@@ -18,6 +18,7 @@
require 'ffi_yajl'
require 'chef/util/path_helper'
+require 'chef/data_bag_item'
class Chef
class Knife