title: Jekyll - Error Running 'Jekyll Serve'
body: <p>EDIT: Found the answer (see my answer below!). It involves using version 1.4.2 instead of 1.4.3, so if anyone has any ideas on getting 1.4.3 working, that could be helpful as well. Thanks!</p>
  
  <p>EDIT 2: Thanks to a comment below, it seems that 1.4.3 does have a problem when running on windows. <a href="https://github.com/jekyll/jekyll/issues/1948" rel="noreferrer">https://github.com/jekyll/jekyll/issues/1948</a></p>
  
  <p>I have just setup jekyll on my windows 7 computer. I have ruby installed along with the dev pack.</p>
  
  <p>I have run <code>gem install jekyll</code> and that completed with success. I have created a new site as per the jekyll documentation.</p>
  
  <p>The problem I am experiencing happens when I try to run <code>jekyll serve</code>. Please find below the error output.</p>
  
  <pre><code>PS C:\jekyll\test-site&gt; jekyll serve --trace
  Configuration file: C:/jekyll/test-site/_config.yml
          Source: C:/jekyll/test-site
     Destination: C:/jekyll/test-site/_site
    Generating... C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir': Invalid argument - C:/jekyll/test-site/_site/C: (Errno::EINVAL)
      from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
      from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in mkdir_p'
      from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
      from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
      from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:205:in `each'
      from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/convertible.rb:168:in `write'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/site.rb:259:in `block in write'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/site.rb:397:in `block (2 levels) in each_site_file'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/site.rb:396:in `each'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/site.rb:396:in `block in each_site_file'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/site.rb:395:in `each'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/site.rb:395:in `each_site_file'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/site.rb:259:in `write'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/site.rb:41:in `process'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/command.rb:18:in `process_site'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/commands/build.rb:23:in `build'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/commands/build.rb:7:in `process'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/bin/jekyll:97:in `block (2 levels) in &lt;top (required)&gt;'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/command.rb:180:in `call'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/command.rb:180:in `call'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/command.rb:155:in `run'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/runner.rb:402:in `run_active_command'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/runner.rb:78:in `run!'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/delegates.rb:11:in `run!'
      from C:/Ruby193/lib/ruby/gems/1.9.1/gems/commander-4.1.5/lib/commander/import.rb:10:in `block in &lt;top (required)&gt;
  </code></pre>
  
  <p>I have looked around but am a novice with ruby, so I have no idea what to look for or how to find the error here. Any help would be much appriciated.</p>
  
  <p>Thanks,</p>
  
  <p>Joe</p>