首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Rake Preview在Octopress中不起作用

Rake Preview在Octopress中不起作用
EN

Stack Overflow用户
提问于 2013-07-04 16:26:16
回答 1查看 1.8K关注 0票数 6

我已经在我的机器上安装了ruby版本1.9.3,并且正在为我的个人网站做一个octopress项目。

我对我的gem使用了rvm,并遵循了octopress.org记录的所有步骤。但是我在我的rake服务器上发现了一些错误。这是我的命令日志。

代码语言:javascript
复制
Tin-Aung-Linn:octopress tal$ ruby --version
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin12.4.0]
Tin-Aung-Linn:octopress tal$ rake generate
## Generating Site with Jekyll
identical source/stylesheets/screen.css 
Configuration from /Users/tal/Sites/mysite.com/octopress/_config.yml
Building site: source -> public/github
Successfully generated site: source -> public/github
Tin-Aung-Linn:octopress tal$ rake preview
Starting to watch source with Jekyll and Compass. Starting Rack on port 4000
Configuration from /Users/tal/Sites/mysite.com/octopress/_config.yml
[2013-07-04 14:50:23] INFO  WEBrick 1.3.1
[2013-07-04 14:50:23] INFO  ruby 1.9.3 (2013-06-27) [x86_64-darwin12.4.0]
[2013-07-04 14:50:23] INFO  WEBrick::HTTPServer#start: pid=51669 port=4000
Auto-regenerating enabled: source -> public/github
[2013-07-04 14:50:23] regeneration: 112 files changed
>>> Change detected at 14:50:23 to: screen.scss
identical public/github/stylesheets/screen.css 

Dear developers making use of FSSM in your projects,
FSSM is essentially dead at this point. Further development will
be taking place in the new shared guard/listen project. Please
let us know if you need help transitioning! ^_^b
- Travis Tilley

>>> Compass is watching for changes. Press Ctrl-C to Stop.
127.0.0.1 - - [04/Jul/2013 14:50:34] "GET / HTTP/1.1" 404 - 0.0208
127.0.0.1 - - [04/Jul/2013 14:50:34] "GET /favicon.ico HTTP/1.1" 404 - 0.0015
^C
[2013-07-04 14:50:41] INFO  going to shutdown ...
Tin-Aung-Linn:octopress tal$ 

任何人都能帮我。天昂林

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-07-04 23:30:16

由@Frederick的评论解决,并关闭了此帖子。

回答

如果生成的索引位于public/mysite中,则必须访问localhost:4000/mysite才能查看文件-

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

https://stackoverflow.com/questions/17465404

复制
相关文章

相似问题

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