windows下git bash中执行jekyll --server出错,编码问题

六只 发布于 2012/02/01 11:48
阅读 3K+
收藏 4

鸿蒙原生应用开发者激励计划发布!最高获百万现金!点击立即参与

错误如下:

Building site: c:/Documents and Settings/Administrator/congmo.github.com -> c:/Documents and Settings/Administrator/congmo.github.com/_site
c:/Ruby192/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/convertible.rb:29:in `read_yaml': invalid byte sequence in GBK (ArgumentError)
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/page.rb:24:in `initialize'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:140:in `new'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:140:in `block in read_directories'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:130:in `each'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:130:in `read_directories'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:98:in `read'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:38:in `process'
        from c:/Ruby192/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/bin/jekyll:250:in `<top (required)>'
        from c:/Ruby192/bin/jekyll:19:in `load'
        from c:/Ruby192/bin/jekyll:19:in `<main>'

不知道怎么去改,请大家指点下。谢谢了。

加载中
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部