jekyll 为什么浏览主页时显示 "ERROR no access permission to `/'"


错误信息:

[2013-02-16 20:25:25] regeneration: 47 files changed
Liquid Exception: undefined method `split' for #<Array:0x1ee46d8> in archive.htm
l
C:/Ruby193/lib/ruby/gems/1.9.1/gems/liquid-2.4.1/lib/liquid/template.rb:141:in `
tokenize'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/liquid-2.4.1/lib/liquid/template.rb:58:in `p
arse'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/liquid-2.4.1/lib/liquid/template.rb:46:in `p
arse'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/convertible.rb:81:i
n `do_layout'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/page.rb:100:in `ren
der'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:204:in `blo
ck in render'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:203:in `eac
h'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:203:in `ren
der'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:41:in `proc
ess'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.12.0/bin/jekyll:253:in `block in <t
op (required)>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r.rb:580:in `call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r.rb:580:in `block in notify_observers'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r.rb:579:in `each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r.rb:579:in `notify_observers'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r.rb:334:in `block in initialize'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r/scanner.rb:224:in `call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r/scanner.rb:224:in `notify'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r/scanner.rb:102:in `run_once'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r/scanner.rb:150:in `run_loop'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/directory_watcher-1.4.1/lib/directory_watche
r/scanner.rb:45:in `block in start'
Build Failed
[2013-02-16 20:25:26] INFO  WEBrick 1.3.1
[2013-02-16 20:25:26] INFO  ruby 1.9.3 (2013-02-06) [i386-mingw32]
[2013-02-16 20:25:26] INFO  WEBrick::HTTPServer#start: pid=7208 port=4000
[2013-02-16 20:25:29] ERROR no access permission to `/'
2012-20130119VQ - - [16/Feb/2013:20:25:29 ������������] "GET / HTTP/1.1" 403 283

- -> /
[2013-02-16 20:25:29] ERROR `/favicon.ico' not found.
2012-20130119VQ - - [16/Feb/2013:20:25:29 ������������] "GET /favicon.ico HTTP/1
.1" 404 281
- -> /favicon.ico
[2013-02-16 20:25:30] ERROR no access permission to `/'
2012-20130119VQ - - [16/Feb/2013:20:25:30 ������������] "GET / HTTP/1.1" 403 283

- -> /
[2013-02-16 20:25:31] ERROR `/favicon.ico' not found.
2012-20130119VQ - - [16/Feb/2013:20:25:31 ������������] "GET /favicon.ico HTTP/1
.1" 404 281
- -> /favicon.ico
[2013-02-16 20:28:41] ERROR no access permission to `/'
2012-20130119VQ - - [16/Feb/2013:20:28:41 ������������] "GET / HTTP/1.1" 403 283

- -> /
[2013-02-16 20:28:41] ERROR `/favicon.ico' not found.
2012-20130119VQ - - [16/Feb/2013:20:28:41 ������������] "GET /favicon.ico HTTP/1
.1" 404 281
- -> /favicon.ico

ruby jekyll

两条咸带鱼 11 years, 9 months ago

Your Answer