今天按照極客學院教程配置好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] INFO3by [2016-08-31 23:03:33] INFO ruby 2. (2016-04-26) [x64-mingw32]
[2016-08-31 23:03:33] INFO WEBrick::HTTPServer#start: pid=3848 port=4000
Configuration file: C:/User/x Desktop/octopress/_config.yml
Source: source
Destination: public
Generating...
Compass is watching for changes. Press Ctrl-C to Stop.
done.
Please add the f fpols for Gemfile to your Gemfile 給:
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 /faviconico 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 :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讲师