summaryrefslogtreecommitdiff
path: root/lib/chef/local_mode.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/local_mode.rb')
-rw-r--r--lib/chef/local_mode.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/local_mode.rb b/lib/chef/local_mode.rb
index 457144c612..36a771e00d 100644
--- a/lib/chef/local_mode.rb
+++ b/lib/chef/local_mode.rb
@@ -15,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-require "chef/config"
+require_relative "config"
require "chef/monkey_patches/webrick-utils" if Chef::Platform.windows?
class Chef
@@ -52,8 +52,8 @@ class Chef
destroy_server_connectivity
require "chef_zero/server"
- require "chef/chef_fs/chef_fs_data_store"
- require "chef/chef_fs/config"
+ require_relative "chef_fs/chef_fs_data_store"
+ require_relative "chef_fs/config"
@chef_fs = Chef::ChefFS::Config.new.local_fs
@chef_fs.write_pretty_json = true