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

 enlend_443 发布于 2022-10-27 05:05

错误信息:

[2013-02-16 20:25:25] regeneration: 47 files changed
Liquid Exception: undefined method `split' for # 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 '
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
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有