Rake预览不在localhost上加载页面

时间:2012-10-02 20:58:45

标签: ruby rake rvm blogs octopress

  • 我在Github上有一个Octopress博客
  • 我使用Mac终端进行更改并推送博客。
  • 在升级到Mountain Lion之前一切都很好。
  • 现在,当我执行以下操作时
>     $ rake preview
>     /Users/hhimanshu/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler/runtime.rb:197:
> warning: Insecure world writable dir /usr/local/bin in PATH, mode
> 040777
>     Starting to watch source with Jekyll and Compass. Starting Rack on port 4000
>     /Users/hhimanshu/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler/runtime.rb:197:
> warning: Insecure world writable dir /usr/local/bin in PATH, mode
> 040777
>     /Users/hhimanshu/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler/runtime.rb:197:
> warning: Insecure world writable dir /usr/local/bin in PATH, mode
> 040777
>     /Users/hhimanshu/.rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.1/lib/bundler/runtime.rb:197:
> warning: Insecure world writable dir /usr/local/bin in PATH, mode
> 040777
>     /Users/hhimanshu/.rvm/gems/ruby-1.9.3-p125/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:22:in
> `<top (required)>': iconv will be deprecated in the future, use
> String#encode instead.
>     Configuration from /Users/hhimanshu/code/p/python/blog/octopress/_config.yml
>     [2012-10-02 13:49:23] INFO  WEBrick 1.3.1
>     [2012-10-02 13:49:23] INFO  ruby 1.9.3 (2012-02-16) [x86_64-darwin11.3.0]
>     [2012-10-02 13:49:23] INFO  WEBrick::HTTPServer#start: pid=75477 port=4000
>     Auto-regenerating enabled: source -> public
>     [2012-10-02 13:49:24] regeneration: 94 files changed
>     
>     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.

它只是保留在终端上,当我点击localhost:4000时,页面永远挂起

这可能导致了什么?

谢谢

1 个答案:

答案 0 :(得分:0)

可比你的XCode也升级了,你必须降级它。