diff options
Diffstat (limited to 'lib/chef.rb')
-rw-r--r-- | lib/chef.rb | 12 |
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" |