diff options
Diffstat (limited to 'lib/chef/http.rb')
-rw-r--r-- | lib/chef/http.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb index ab78ff7ae4..f5ad71c694 100644 --- a/lib/chef/http.rb +++ b/lib/chef/http.rb @@ -21,9 +21,9 @@ # limitations under the License. # -require "tempfile" +require "tempfile" unless defined?(Tempfile) require "net/https" -require "uri" +require "uri" unless defined?(URI) require_relative "http/basic_client" require_relative "monkey_patches/net_http" require_relative "config" |