Skip to content

Instantly share code, notes, and snippets.

@Bendihossan
Created January 29, 2013 22:58
Show Gist options
  • Save Bendihossan/4668784 to your computer and use it in GitHub Desktop.
Save Bendihossan/4668784 to your computer and use it in GitHub Desktop.
jekyll serve
WARNING: Could not read configuration. Using defaults (and options).
No such file or directory - /opt/local/apache2/htdocs/jekyll/_config.yml
Building site: /opt/local/apache2/htdocs/jekyll -> serve
YAML Exception reading broken_front_matter2.erb: syntax error on line 2, col 0: `'
YAML Exception reading exploit_front_matter.erb: invalid subclass
Liquid Exception: No such file or directory - /opt/local/apache2/htdocs/jekyll/_includes in 2008-12-13-include.markdown
/opt/local/lib/ruby/gems/1.8/gems/jekyll-0.12.0/bin/../lib/jekyll/tags/include.rb:20:in `chdir'
/opt/local/lib/ruby/gems/1.8/gems/jekyll-0.12.0/bin/../lib/jekyll/tags/include.rb:20:in `render'
/opt/local/lib/ruby/gems/1.8/gems/liquid-2.4.1/lib/liquid/block.rb:94:in `render_all'
/opt/local/lib/ruby/gems/1.8/gems/liquid-2.4.1/lib/liquid/block.rb:92:in `collect'
/opt/local/lib/ruby/gems/1.8/gems/liquid-2.4.1/lib/liquid/block.rb:92:in `render_all'
/opt/local/lib/ruby/gems/1.8/gems/liquid-2.4.1/lib/liquid/block.rb:82:in `render'
/opt/local/lib/ruby/gems/1.8/gems/liquid-2.4.1/lib/liquid/template.rb:124:in `render'
/opt/local/lib/ruby/gems/1.8/gems/liquid-2.4.1/lib/liquid/template.rb:132:in `render!'
/opt/local/lib/ruby/gems/1.8/gems/jekyll-0.12.0/bin/../lib/jekyll/convertible.rb:79:in `do_layout'
/opt/local/lib/ruby/gems/1.8/gems/jekyll-0.12.0/bin/../lib/jekyll/post.rb:195:in `render'
/opt/local/lib/ruby/gems/1.8/gems/jekyll-0.12.0/bin/../lib/jekyll/site.rb:200:in `render'
/opt/local/lib/ruby/gems/1.8/gems/jekyll-0.12.0/bin/../lib/jekyll/site.rb:199:in `each'
/opt/local/lib/ruby/gems/1.8/gems/jekyll-0.12.0/bin/../lib/jekyll/site.rb:199:in `render'
/opt/local/lib/ruby/gems/1.8/gems/jekyll-0.12.0/bin/../lib/jekyll/site.rb:41:in `process'
/opt/local/lib/ruby/gems/1.8/gems/jekyll-0.12.0/bin/jekyll:264
/opt/local/bin/jekyll:19:in `load'
/opt/local/bin/jekyll:19
Build Failed
@athieriot
Copy link

Oh ok.

Either try with "bundle" as @nixgeek told.
Either you should install the binary of Jekyll instead via a plain old "sudo gem install jekyll"

But it's still weird, maybe it's just an access right issue

@athieriot
Copy link

Weird.
I use mine at the root of "if I knew then"

@Bendihossan
Copy link
Author

Issue now is localhost:4000 returns Forbidden no access permission to /'`

@haiganhongyi
Copy link

遇到了类似的问题,但是遇到中文编码加上windows系统就无语的各种问题啦,到现在都没解决啦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment