我正在使用GitHub Pages Jekyll的引导主题,"感觉有响应。"我的问题是,jekyll bundler在生成过程中冻结。
要在本地开发jekyll网站,我运行"捆绑exec jekyll服务"而不是" jekyll服务"因为我收到了这个错误,
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)
一切运作良好,直到有一天我跑了,&#34;捆绑执行官jekyll服务&#34;,像往常一样,它冻结了。现在,每次运行命令时,它都会冻结。
到目前为止我尝试过:
到目前为止,没有任何作用,这就是我在运行构建时看到的内容:
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...
如果有人能指出我在这里正确的方向,那将是非常棒的。主要是,为什么会以这种方式产生冻结,我该怎么做才能解决它?
非常感谢。
答案 0 :(得分:0)
在将jekyll-press插件添加到我的Gemfile后,我也遇到了这个问题。我刚从我的Gemfile中删除它,运行bundle
并解决了问题。