gpt4 book ai didi

ruby - Windows 上的 Jekyll : Pygments not working

转载 作者:数据小太阳 更新时间:2023-10-29 06:23:04 27 4
gpt4 key购买 nike

在我一直使用 RC 之前,我已经更新到最新的 JekyllBuild (1.0.3)。更新代码解析后(使用 Pygments)不再起作用。我总是收到以下错误:

C:/Ruby193/lib/ruby/gems/1.9.1/gems/posix-spawn-0.3.6/lib/posix/spawn.rb:162: warning: cannot close fd before spawn
←[31m Liquid Exception: No such file or directory - /bin/sh in 2012-01-17-test-post.md←[0m

有没有人也遇到过这个问题?

我对ruby一无所知,所以我不能自己调试:(

最佳答案

我遇到了同样的问题。似乎有 a problem在 Pygments.rb 0.5.1 中。通过回滚到 Pygments 0.5.0,错误消失了。

gem uninstall pygments.rb --version ">0.5.0"
gem install pygments.rb --version "=0.5.0"

希望这对您有所帮助。

关于ruby - Windows 上的 Jekyll : Pygments not working,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17364028/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com