summaryrefslogtreecommitdiff
path: root/lib/chef/application.rb
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2014-11-26 13:27:18 -0800
committerdanielsdeleo <dan@getchef.com>2014-11-26 13:27:18 -0800
commit3ad740754507629a73525ffdcc0b3eb06f177001 (patch)
tree5bbc3e4f50dcfb6297fe797f1cc937ba3af40ba9 /lib/chef/application.rb
parenta0c294d8d1b6b0323d3c01265e824deb8a5d972d (diff)
downloadchef-3ad740754507629a73525ffdcc0b3eb06f177001.tar.gz
Ensure 'uri' is required where it's used.
URI previously was globally available because chef.rb loaded it via a monkey patch for the URI class.
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r--lib/chef/application.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb
index 7214afc5be..5a67fc9091 100644
--- a/lib/chef/application.rb
+++ b/lib/chef/application.rb
@@ -17,6 +17,7 @@
# limitations under the License.
require 'pp'
+require 'uri'
require 'socket'
require 'chef/config'
require 'chef/config_fetcher'