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

 直由飞翔_447 发布于 2022-10-25 17:12

今天按照极客学院教程配置好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

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

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有