运行 window 10 配置文件上的 jekyll 服务器:none
run jekyll server on window 10 Configuration file: none
当我在 一个非主分支 上设置 GEM 时 doc
http://jekyllrb.com/docs/windows/#installation
和 运行 这个命令 jekyll s
在那个分支上,它向我抛出这个 WARN
WARN: Unresolved specs during Gem::Specification.reset:
listen (< 3.1, ~> 3.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/bundler-1.13.5/lib/bundler/runtime.rb:40:in `block in setup': You have already activated jekyll-sass-converter 1.4.0, but your Gemfile requires jekyll-sass-converter 1.3.0. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/bundler-1.13.5/lib/bundler/runtime.rb:25:in `map'
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/bundler-1.13.5/lib/bundler/runtime.rb:25:in `setup'
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/bundler-1.13.5/lib/bundler.rb:99:in `setup'
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/jekyll-3.3.0/lib/jekyll/plugin_manager.rb:36:in `require_from_bundler'
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/jekyll-3.3.0/exe/jekyll:9:in `<top (required)>'
from C:/tools/ruby23/bin/jekyll:22:in `load'
from C:/tools/ruby23/bin/jekyll:22:in `<main>'
我用 gem cleanup listen
清理它不适用于 jekyll s
但它 运行 与 bundle exec jekyll s
我什至 运行 bundle exec jekyll serve --force_polling
和 bundle exec jekyll serve --watch
它 return Configuration file: none
所以看发生了什么?我只能使用 jekyll s
吗?
我可以使用 jekyll 模板吗?
更新
我将 Ruby 降级到 2.2 并重新安装捆绑包,服务器现在 运行ning 但仍然没有配置文件 Configuration file: none
我应该手动创建一个吗? touch
所以我找到了解决方案,遵循 doc
没有帮助我为网站创建 jekyll 模板。我可以通过 jekyll new
../.. 手动执行到一个新目录并将我想要的那些文件复制到我想要的回购并提交它。对我来说一切都很好。
谢谢 mudasobwa。我只是试着和 jekyll 和 git 一起玩了一个星期。这是我的错:(
当我在 一个非主分支 上设置 GEM 时 doc
http://jekyllrb.com/docs/windows/#installation
和 运行 这个命令 jekyll s
在那个分支上,它向我抛出这个 WARN
WARN: Unresolved specs during Gem::Specification.reset:
listen (< 3.1, ~> 3.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/bundler-1.13.5/lib/bundler/runtime.rb:40:in `block in setup': You have already activated jekyll-sass-converter 1.4.0, but your Gemfile requires jekyll-sass-converter 1.3.0. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/bundler-1.13.5/lib/bundler/runtime.rb:25:in `map'
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/bundler-1.13.5/lib/bundler/runtime.rb:25:in `setup'
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/bundler-1.13.5/lib/bundler.rb:99:in `setup'
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/jekyll-3.3.0/lib/jekyll/plugin_manager.rb:36:in `require_from_bundler'
from C:/tools/ruby23/lib/ruby/gems/2.3.0/gems/jekyll-3.3.0/exe/jekyll:9:in `<top (required)>'
from C:/tools/ruby23/bin/jekyll:22:in `load'
from C:/tools/ruby23/bin/jekyll:22:in `<main>'
我用 gem cleanup listen
清理它不适用于 jekyll s
但它 运行 与 bundle exec jekyll s
我什至 运行 bundle exec jekyll serve --force_polling
和 bundle exec jekyll serve --watch
它 return Configuration file: none
所以看发生了什么?我只能使用 jekyll s
吗?
我可以使用 jekyll 模板吗?
更新
我将 Ruby 降级到 2.2 并重新安装捆绑包,服务器现在 运行ning 但仍然没有配置文件 Configuration file: none
我应该手动创建一个吗? touch
所以我找到了解决方案,遵循 doc
没有帮助我为网站创建 jekyll 模板。我可以通过 jekyll new
../.. 手动执行到一个新目录并将我想要的那些文件复制到我想要的回购并提交它。对我来说一切都很好。
谢谢 mudasobwa。我只是试着和 jekyll 和 git 一起玩了一个星期。这是我的错:(