【问题标题】:GitHub Pages: "bundle exec jekyll serve" freezes on "Generating..."GitHub Pages:“bundle exec jekyll serve”冻结在“Generating...”上
【发布时间】:2016-10-17 00:12:41
【问题描述】:

我正在使用带有引导主题“Feeling Responsive”的 GitHub Pages Jekyll。我的问题是 jekyll 捆绑器在生成过程中冻结。

为了在本地开发 jekyll 站点,我运行“bundle exec jekyll serve”而不是“jekyll serve”,因为我收到了这个错误,

J-MacBook-Pro:<user>.github.io jimbo$ jekyll serve
/Library/Ruby/Gems/2.0.0/gems/bundler-1.13.3/lib/bundler/runtime.rb:40:in     
`block in setup': You have already activated colorator 1.1.0, but your Gemfile     
requires colorator 0.1. Prepending `bundle exec` to your command may solve 
this. (Gem::LoadError)

一切都运行良好,直到有一天我像往常一样运行“bundle exec jekyll serve”,但它冻结了。现在,每次我运行命令时,它都会冻结。

到目前为止我所尝试的:

  1. 当一切正常时,git 重置为之前的提交。
  2. 重启终端和编辑器。
  3. 重启mac。

到目前为止,没有任何效果,这是我在运行构建时看到的:

J-MacBook-Pro:<user>.github.io jimbo$ bundle exec jekyll serve
Configuration file:    
/Users/jimbo/Dropbox/Github/<user>.github.io/_config.yml
   Source: /Users/jimbot/Dropbox/Github/<user>.github.io
   Destination: /Users/jimbo/Dropbox/Github/<user>.github.io/_site
 Incremental build: disabled. Enable with --incremental
  Generating...

如果有人能在这里指出我正确的方向,那就太棒了。主要是,为什么会以这种方式产生冻结,我该怎么做才能解决它?

非常感谢。

【问题讨论】:

  • 您能否将我们指向您的存储库?您是否尝试过让最小的网站正常运行?
  • 想知道构建日志的副本是否有错误。否则,为什么source 有用户名jimbotdestination 有用户名jimbo

标签: git rubygems bundler github-pages jekyll-bootstrap


【解决方案1】:

在将 jekyll-press 插件添加到我的 Gemfile 后,我也遇到了这个问题。我刚刚从我的 Gemfile 中删除了它,运行了bundle,问题就解决了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多