Coder Social home page Coder Social logo

Comments (2)

creamidea avatar creamidea commented on June 17, 2024

I search so many issue:

self.content = File.read(File.join(base, name), :encoding => "utf-8")

However, why it doesn't work?

from creamidea.github.com.

creamidea avatar creamidea commented on June 17, 2024

倒腾了半天,最终终于解决了。原来不是什么编码的问题,而是我以前的垃圾文件的影响。

当然,如果真的是编码的问题,可以参考上面的comment. 我的解决方式,在cmd中先输入

chcp 65001

之后

jekyll serve

我的两个错误是这个样子的:

  • commentsemail.html

    估计是org-mode在生成的时候将_误认为下标了。(不过我奇怪的是,为何以前没有这个错误?)

  • {% include footer.html %}

    原本这条在archive/index-.html, _layout/doc-.html中,但是这些文件都没有被使用,都是废弃的,我以为没有事,但是这次的罪魁祸首就是他们啊。原来就算不被使用的文件,只要在Jekyll中就会被编译啊!

想知道我如何排除这些的么?
第一个错误是我联系github的工作人员给出的,真是太感谢他们了。这让我想起了以前联系github的两次:一次是想要到icecream这个帐号,还有一次是git-page被标为垃圾,无法被访问。(这个是我后来联系他们才知道的,最终他们主动撤销了那个标志)

第二个错误是跟着:Troubleshooting来做的,一步一步。其实核心的就是安装bundle以及这个command bundle exec jekyll serve
之后就是跟着错误提示一点一点排查啦。

Good luck!

github mail
screenshot_111413_101153_pm

reply:
screenshot_111413_101234_pm

from creamidea.github.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.