不知道如何构建任务:jekyll、octopress
我想使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
全部都在错误消息中,您没有指定正确的
rake
任务。如果您使用的是 Octopress,您可能想要执行诸如rakegenerate
、rakedeploy
或rakegen_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 likerake generate
,rake deploy
, orrake 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.