Jekyll 构建卡在 "Rebuilding index…" 阶段
Jekyll build stuck in "Rebuilding index…" stage
我刚刚建立了我的第一个 Jekyll 网站,并且(几乎)一切顺利,直到我从我以前的网站添加了一些(大约 80 篇)旧帖子。
现在,当我尝试 运行 Jekyll 在本地为网站提供服务时,它启动了,但停留在 Rebuilding index…
阶段:
$ ./_serve.sh
WARN: Unresolved specs during Gem::Specification.reset:
posix-spawn (~> 0.3.6)
listen (~> 2.7)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Configuration file: _config.yml
Configuration file: _config-twitter.yml
Source: /Users/nhoizey/Dropbox/Personnel/Devs/nicolas-hoizey.com
Destination: /Users/nhoizey/Dropbox/Personnel/Devs/nicolas-hoizey.com/_site
Generating...
Populating LSI...
Rebuilding index...
这里的_serve.sh
我运行就是这样的:
#!/bin/sh
jekyll s --config _config.yml,_config-twitter.yml
(_config-twitter.yml
仅包含我不想分享的 Twitter API 凭据)
整个网站的源代码和内容都在我的 Github 仓库中:https://github.com/nhoizey/nicolas-hoizey.com/
Google 一点帮助都没有,Whosebug 也没有,知道吗?
我测试了你的网站,一切似乎都是 运行 发现时间:
- 禁用推特标签:p
- 在 _config.yml
中禁用 LSI
在构建站点时,我按 Ctrl-C 组合键查看内容 运行,我得到以下堆栈:
Rebuilding index... ^C/Users/johan/.rbenv/versions/2.1.2/lib/ruby/2.1.0/matrix.rb:315:in `[]': Interrupt
from /Users/johan/.rbenv/versions/2.1.2/lib/ruby/2.1.0/matrix.rb:823:in `block (3 levels) in *'
…
from /Users/johan/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/classifier-reborn-2.0.3/lib/classifier-reborn/extensions/vector.rb:43:in `block (2 levels) in SV_decomp'
…
from /Users/johan/.rbenv/versions/2.1.2/bin/jekyll:23:in `<main>'
我终于在用于生成与 LSI 相关链接的插件 gems-classifier 上的 Github 上找到了 this issue。
我想你最好的选择是禁用 LSI…
我自己遇到了这个问题,但是 found a better solution。
安装 gsi 并使用 rb-gsl gem 显着 为我加速了 LSI(~6 秒)
我刚刚建立了我的第一个 Jekyll 网站,并且(几乎)一切顺利,直到我从我以前的网站添加了一些(大约 80 篇)旧帖子。
现在,当我尝试 运行 Jekyll 在本地为网站提供服务时,它启动了,但停留在 Rebuilding index…
阶段:
$ ./_serve.sh
WARN: Unresolved specs during Gem::Specification.reset:
posix-spawn (~> 0.3.6)
listen (~> 2.7)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Configuration file: _config.yml
Configuration file: _config-twitter.yml
Source: /Users/nhoizey/Dropbox/Personnel/Devs/nicolas-hoizey.com
Destination: /Users/nhoizey/Dropbox/Personnel/Devs/nicolas-hoizey.com/_site
Generating...
Populating LSI...
Rebuilding index...
这里的_serve.sh
我运行就是这样的:
#!/bin/sh
jekyll s --config _config.yml,_config-twitter.yml
(_config-twitter.yml
仅包含我不想分享的 Twitter API 凭据)
整个网站的源代码和内容都在我的 Github 仓库中:https://github.com/nhoizey/nicolas-hoizey.com/
Google 一点帮助都没有,Whosebug 也没有,知道吗?
我测试了你的网站,一切似乎都是 运行 发现时间: - 禁用推特标签:p - 在 _config.yml
中禁用 LSI在构建站点时,我按 Ctrl-C 组合键查看内容 运行,我得到以下堆栈:
Rebuilding index... ^C/Users/johan/.rbenv/versions/2.1.2/lib/ruby/2.1.0/matrix.rb:315:in `[]': Interrupt
from /Users/johan/.rbenv/versions/2.1.2/lib/ruby/2.1.0/matrix.rb:823:in `block (3 levels) in *'
…
from /Users/johan/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/classifier-reborn-2.0.3/lib/classifier-reborn/extensions/vector.rb:43:in `block (2 levels) in SV_decomp'
…
from /Users/johan/.rbenv/versions/2.1.2/bin/jekyll:23:in `<main>'
我终于在用于生成与 LSI 相关链接的插件 gems-classifier 上的 Github 上找到了 this issue。
我想你最好的选择是禁用 LSI…
我自己遇到了这个问题,但是 found a better solution。
安装 gsi 并使用 rb-gsl gem 显着 为我加速了 LSI(~6 秒)