不知道如何构建任务:jekyll、octopress

发布于 2024-12-26 14:22:17 字数 1678 浏览 3 评论 0原文

我想使用 jekyll 和 octopress 建立一个博客。 但当我运行 bundle exec rake [email protected]:congmo/congmo.github.com.git --trace

rake aborted! 
Don't know how to build task '[email protected]:congmo/congmo.github.com.git'      
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task_manager.rb:49:in `[ ]'  
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:111:in `invoke_task' c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `bl ock (2 levels) in top_level' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `ea ch'   
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `bl ock in top_level' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in `s tandard_exception_handling' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:84:in `to p_level' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:62:in `bl ock in run' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in `s tandard_exception_handling' c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:59:in `ru n' c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/bin/rake:32:in `<top (required)>'

c:/Ruby192/lib/ruby/gems/1.9.1/bin/rake:19:in `load'
c:/Ruby192/lib/ruby/gems/1.9.1/bin/rake:19:in `<main>'

有人遇见了同样的问题?有人可以帮助我吗?

i want build a blog using jekyll and octopress.
but an error happened when i run bundle exec rake [email protected]:congmo/congmo.github.com.git --trace

rake aborted! 
Don't know how to build task '[email protected]:congmo/congmo.github.com.git'      
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task_manager.rb:49:in `[ ]'  
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:111:in `invoke_task' c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `bl ock (2 levels) in top_level' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `ea ch'   
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `bl ock in top_level' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in `s tandard_exception_handling' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:84:in `to p_level' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:62:in `bl ock in run' 
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in `s tandard_exception_handling' c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:59:in `ru n' c:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/bin/rake:32:in `<top (required)>'

c:/Ruby192/lib/ruby/gems/1.9.1/bin/rake:19:in `load'
c:/Ruby192/lib/ruby/gems/1.9.1/bin/rake:19:in `<main>'

somebody meet the same problem?could someone help me?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

飘过的浮云 2025-01-02 14:22:17

全部都在错误消息中,您没有指定正确的 rake 任务。如果您使用的是 Octopress,您可能想要执行诸如 rakegeneraterakedeployrakegen_deploy 之类的操作,但如果不这样做就很难知道更多信息。在开始使用 Octopress 写博客之前,请确保您阅读并理解了 Octopress 的文档。

It's all in the error message, you didn't specify a correct rake task. If you are using Octopress chances are that you wanted do something like rake generate, rake deploy, or rake gen_deploy, but that's hard to know without more info. Make sure you read and understand Octopress' documentation before you start blogging with it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文