search

Home  >  Q&A  >  body text

ruby - octopress 浏览器localhost:4000没反应

今天按照极客学院教程配置好octopress,前几次使用可以打开localhost,之后突然打不开了,浏览器一直无响应
我用的是Windows10,谷歌浏览器,端口4000显示的是ruby.exe

在git bash里输入rake preview显示如下:
$ rake preview

(in C:/Users/xboy/Desktop/octopress)
[2016-08-31 23:03:33] INFO WEBrick 1.3.1
[2016-08-31 23:03:33] INFO ruby 2.3.1 (2016-04-26) [x64-mingw32]
[2016-08-31 23:03:33] INFO WEBrick::HTTPServer#start: pid=3848 port=4000
Configuration file: C:/Users/xboy/Desktop/octopress/_config.yml
Source: source
Destination: public
Generating...
Compass is watching for changes. Press Ctrl-C to Stop.
done.
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
Auto-regeneration: enabled for 'source'
write public/stylesheets/screen.css

改了好久不知道如何是好,用了win10自带浏览器也是如此
多次刷新,输入登录显示如下:

::1 - - [31/Aug/2016:23:19:29 +0800] "GET / HTTP/1.1" 200 - 0.0686
write public/stylesheets/screen.css
::1 - - [31/Aug/2016:23:19:38 +0800] "GET / HTTP/1.1" 200 - 0.0000
::1 - - [31/Aug/2016:23:19:39 +0800] "GET /favicon.ico HTTP/1.1" 404 - 0.0000
::1 - - [31/Aug/2016:23:19:47 +0800] "GET / HTTP/1.1" 304 - 0.0000
::1 - - [31/Aug/2016:23:19:47 +0800] "GET /favicon.ico HTTP/1.1" 404 - 0.0000
::1 - - [31/Aug/2016:23:19:53 +0800] "GET / HTTP/1.1" 304 - 0.0000

页面就是什么都没有!!!
我应该如何做...

PHP中文网PHP中文网2774 days ago847

reply all(0)I'll reply

No reply
  • Cancelreply