Octopress在运行rake预览时失败

Giz*_*zak 2 macos rake octopress

它有点连线,我试图安装octopress,一切都很顺利,但我只是无法使用rake preview.我尝试查看预览时有一些信息:

服务器似乎没问题:

bash-3.2$ rake preview
Starting to watch source with Jekyll and Compass. Starting Rack on port 4000
Configuration from /Users/Gizak/Documents/oct/_config.yml
[2013-12-23 16:12:21] INFO  WEBrick 1.3.1
[2013-12-23 16:12:21] INFO  ruby 2.0.0 (2013-06-27) [universal.x86_64-darwin13]
[2013-12-23 16:12:21] INFO  WEBrick::HTTPServer#start: pid=5525 port=4000
Auto-regenerating enabled: source -> public
[2013-12-23 16:12:22] regeneration: 93 files changed
>>> Change detected at 16:12:22 to: screen.scss
identical public/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 - - [23/Dec/2013 16:12:25] "GET / HTTP/1.1" 200 - 0.0245
127.0.0.1 - - [23/Dec/2013 16:12:25] "GET /stylesheets/screen.css HTTP/1.1" 200 - 0.0028
127.0.0.1 - - [23/Dec/2013 16:12:25] "GET /javascripts/modernizr-2.0.js HTTP/1.1" 200 - 0.0012
Run Code Online (Sandbox Code Playgroud)

您可以看到响应代码是200,但是当我查看浏览器时,我发现它只是没有完成它的工作: OSX 10.9,Safari

我从未见过这种错误.我严格按照章节的说明进行安装.我错过了什么?

SYS INFO:OSX 10.9 Safari

stu*_*ker 6

我认为这是Safari 在Github上基于此问题的一个已知问题.在该问题上列出的两个建议的解决方法是:

  1. 尝试点击http://localhost:4000Firefox或Chrome.

  2. 安装并使用Ruby Thin Server而不是默认的WEBrick服务器.可以在此博客文章中找到有关进行此更改的一组良好说明.