Skip to content

Instantly share code, notes, and snippets.

@fpigerre
Created March 21, 2014 10:09
Show Gist options
  • Select an option

  • Save fpigerre/9683106 to your computer and use it in GitHub Desktop.

Select an option

Save fpigerre/9683106 to your computer and use it in GitHub Desktop.
An error that occured when running 'jekyll serve' in a lanyon jekyll site (https://github.com/poole/lanyon). Currently running Ruby 1.9.3 (Installed with Rails) on Windows 7.
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
C:\Users\psgs\Downloads\lanyon-master> jekyll serve --trace
Configuration file: C:/Users/psgs/Downloads/lanyon-master/_config.yml
Source: C:/Users/psgs/Downloads/lanyon-master
Destination: C:/Users/psgs/Downloads/lanyon-master/_site
Generating... C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/posix-s
pawn-0.3.8/lib/posix/spawn.rb:162: warning: cannot close fd before spawn
'which' is not recognized as an internal or external command,
operable program or batch file.
←[31m Liquid Exception: No such file or directory - python C:/RailsInstaller/Ru
by1.9.3/lib/ruby/gems/1.9.1/gems/pygments.rb-0.5.4/lib/pygments/mentos.py in _po
sts/2014-01-01-example-content.md←[0m
C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir': Invalid
argument - C:/Users/psgs/Downloads/lanyon-master/_site/C: (Errno::EINVAL)
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/fileutils.rb:247:in `fu_
mkdir'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/fileutils.rb:221:in `blo
ck (2 levels) in mkdir_p'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/fileutils.rb:219:in `rev
erse_each'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/fileutils.rb:219:in `blo
ck in mkdir_p'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/fileutils.rb:205:in `eac
h'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/fileutils.rb:205:in `mkd
ir_p'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/convertible.rb:168:in `write'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/site.rb:259:in `block in write'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/site.rb:397:in `block (2 levels) in each_site_file'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/site.rb:396:in `each'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/site.rb:396:in `block in each_site_file'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/site.rb:395:in `each'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/site.rb:395:in `each_site_file'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/site.rb:259:in `write'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/site.rb:41:in `process'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/command.rb:18:in `process_site'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/commands/build.rb:23:in `build'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/l
ib/jekyll/commands/build.rb:7:in `process'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/b
in/jekyll:97:in `block (2 levels) in <top (required)>'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/commander-4.1.
6/lib/commander/command.rb:180:in `call'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/commander-4.1.
6/lib/commander/command.rb:180:in `call'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/commander-4.1.
6/lib/commander/command.rb:155:in `run'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/commander-4.1.
6/lib/commander/runner.rb:422:in `run_active_command'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/commander-4.1.
6/lib/commander/runner.rb:82:in `run!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/commander-4.1.
6/lib/commander/delegates.rb:12:in `run!'
from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/commander-4.1.
6/lib/commander/import.rb:10:in `block in <top (required)>'
C:\Users\psgs\Downloads\lanyon-master>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment