我在Windows7上运行Jekyll遇到问题。当我运行
jekyll我得到以下错误
C:\temp\jekyll\kouphax.github.com> jekyll
Configuration from C:/temp/jekyll/kouphax.github.com/_config.yml
Building site: C:/temp/jekyll/kouphax.github.com -> C:/temp/jekyll/kouphax.github.com/_site
unit-testing
You are missing a library required for Textile. Please run:
$ [sudo] gem install RedCloth
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Missing dependency: RedCloth但是,安装了RedCloth
C:\temp\jekyll\kouphax.github.com> gem install RedCloth
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed RedCloth-4.2.8
1 gem installed
Installing ri documentation for RedCloth-4.2.8...
Installing RDoc documentation for RedCloth-4.2.8...有谁能开导我吗?
发布于 2011-11-09 01:56:13
我遵循了here的说明,这解决了我的问题。
在gem安装RedCloth之后,从\ Ruby \bin运行redcloth.bat (将\Ruby\替换为Ruby安装目录)。
如果它报告找不到路径1.9/redcloth_scan,请执行以下操作:
在\Ruby\lib\ruby\gems\1.9.1\gems\RedCloth-4.2.8\ext中创建名为1.9的目录
从刚刚创建的1.9文件夹中的\Ruby\lib\ruby\gems\1.9.1\gems\RedCloth-4.2.8\ext\redcloth_scan复制所有内容。
发布于 2011-09-04 09:47:23
尝试卸载gem并重新安装它们。先是RedCloth,然后是Textile,这样它就可以看到RedCloth了。
(我是ruby的新手,所以这可能没什么意义,但似乎值得一试。)
发布于 2012-10-07 18:35:22
尝试下载并重新安装latest ruby,然后遵循此instruction,祝您好运!
https://stackoverflow.com/questions/7236269
复制相似问题