문제

I installed octopress (git,RVM) as documented on octopress.org
I created one post and executed the commands:

rake generate  
rake preview

This last command is never finished !?
Any explanation ?

  • Ruby version 2.0.0

The command

rake watch

also loops

도움이 되었습니까?

해결책

rake preview is a command which launches your site running locally on port 4000. Therefore if you execute that command and browse to localhost:4000 you should see your site. The command will appear to be running constantly (until you ctrl-c out) as it is running a server.

This is covered under the blogging basics - http://octopress.org/docs/blogging/

rake watch will also run continually as all it is designed to do is monitor for changes in your source and sass then if any are detected will automatically run a generate task.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top