2013-07-04 22 views
6

Makinem üzerinde 1.9.3 ruby ​​versiyonu var ve kişisel web sitem için bir ahtapot projesi üzerinde çalışıyorum.Rake Ön izleme Octopress içinde çalışmıyor

Mücevherlerim için rvm kullandım ve ahtapot.org tarafından belgelenen tüm adımları takip ettim. Ama komisyon sunucumda bazı hatalar buldum. İşte benim komut kütüğüm.

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$ 

Herkes bana yardımcı olur. Teneke Aung Linn

+0

- Sadece ahtapotun şu anda kullanılmayan bir kütüphaneyi kullandığını gösteren bir uyarı –

+0

127.0.0.1 - - [04/Jul/2013 14:50:34] "GET /favicon.ico HTTP/1.1" 404 - 0.0015 Bunu gösterirken, tarayıcım http: // localhost: 4000 adresinde hiçbir şey göstermiyor. –

+0

Gösterilecek bir dizin dosyası var mı? Neler oluşturulduğunu görmek için oluşturulan dosyaları gözden geçirin –

cevap

2

@ Frederick'in açıklaması tarafından çözüldü ve bu konu kapatıldı.

Cevap

oluşturulan endeks kamu/mysite ise o zaman vurmak zorunda kalacak localhost: dosyaları görmek için 4000/mysite - hiçbir hata yok

+0

Bu problemi de başlatabilirim, belki de maverick'lere geçişten dolayı. Ben sadece _deploy dizininde http-server (npm'den yüklenmiş) çalıştırıyorum ve çalışıyor. Herhangi bir dev http sunucusu yapmalıdır. – davidjnelson

İlgili konular