title: Chef Cookbook dependency in Windows in offline
body: <p>I am running chef on local mode in windows (offline).There is a dependency with the cookbook 'windows' so ,metadata.rb file has the line </p>
  
  <pre><code>- depends "windows".
  </code></pre>
  
  <p>So I downloaded the cookbook and kept it locally on the server in D drive and added the following line in Berkfile</p>
  
  <pre><code> source "file:///D:/chef/"
   "cookbook 'windows',path:'D:\chef\windows'
  </code></pre>
  
  <p>After this , when "berks install" is executed, it does the following </p>
  
  <pre><code>Fetching 'ckbk' from source at .
  Fetching 'windows' from source at ../windows
  Fetching cookbook index from file:///D:/chef/...
  berks : C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20-universal-mingw32/lib/chef/http/http_request.rb:147:in `build_headers': undefined method 
  `&lt;&lt;' for nil:NilClass (NoMethodError)
  </code></pre>
  
  <p>How to resolve dependencies offline in Windows?</p>
  
  <blockquote>
    <p>Chef Development Kit Version: 2.1.11</p>
    
    <p>chef-client version: 13.2.20</p>
  </blockquote>