GitHub 页面:“bundle exec jekyll serve”在“Generating...”上冻结

Jim*_*Kim 6 git rubygems bundler github-pages jekyll-bootstrap

我将 GitHub Pages Jekyll 与引导程序主题“Feeling Responsive”一起使用。我的问题是 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)
Run Code Online (Sandbox Code Playgroud)

一切都运行良好,直到有一天我像往常一样运行“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...
Run Code Online (Sandbox Code Playgroud)

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

非常感谢。

小智 1

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