summaryrefslogtreecommitdiff
path: root/lib/chef.rb
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2019-04-25 00:37:21 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2019-04-29 18:07:58 -0400
commit93379e5e7a93b2c122dc98065b4732243ee84a7e (patch)
treedecb92f472430b8a88b6bf492c9851754da44180 /lib/chef.rb
parent945b9f6636bb3236999ca43f313113bf74045d82 (diff)
downloadchef-93379e5e7a93b2c122dc98065b4732243ee84a7e.tar.gz
Add train-core. Remove chef-core references outside of bootstrap
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
Diffstat (limited to 'lib/chef.rb')
-rw-r--r--lib/chef.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/chef.rb b/lib/chef.rb
index c58f46debd..8869a5a890 100644
--- a/lib/chef.rb
+++ b/lib/chef.rb
@@ -18,18 +18,6 @@
require "chef/version"
-# Ensure that this loads ahead of anything that
-# might cause rubygems to hit Gem.load_yaml, including
-# evaluating gemspecs. When load_yaml is invoked,
-# it stubs out the YAML::Syck namespace. This causes
-# r18n to break, which expects either YAML::Syck to be there
-# and fully defined (particularly, the Syck::PrivateType class),
-# or for it to not be there at all.
-#
-# When it's not - because it's a stub - r18n explodes on loading.
-# Ensuring chef_core/text and r18n are loaded first prevents this.
-require "chef_core/text"
-
require "chef/nil_argument"
require "chef/mash"
require "chef/exceptions"