首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Windows 7上运行Jekyll

在Windows 7上运行Jekyll
EN

Stack Overflow用户
提问于 2011-08-30 05:36:09
回答 3查看 2K关注 0票数 6

我在Windows7上运行Jekyll遇到问题。当我运行

代码语言:javascript
复制
jekyll

我得到以下错误

代码语言:javascript
复制
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

代码语言:javascript
复制
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...

有谁能开导我吗?

EN

回答 3

Stack Overflow用户

发布于 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复制所有内容。

票数 2
EN

Stack Overflow用户

发布于 2011-09-04 09:47:23

尝试卸载gem并重新安装它们。先是RedCloth,然后是Textile,这样它就可以看到RedCloth了。

(我是ruby的新手,所以这可能没什么意义,但似乎值得一试。)

票数 0
EN

Stack Overflow用户

发布于 2012-10-07 18:35:22

尝试下载并重新安装latest ruby,然后遵循此instruction,祝您好运!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7236269

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档