我想用jekyll和octopress建立一个博客。
但是当我运行bundle exec rake git@github.com:congmo/congmo.github.com.git --trace
rake aborted!
Don't know how to build task 'git@github.com: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>'
有人遇到同样的问题吗?有人能帮帮我吗?
答案 0 :(得分:0)
全部在错误消息中,您没有指定正确的rake
任务。如果您使用的是Octopress,则可能需要执行rake generate
,rake deploy
或rake gen_deploy
之类的操作,但如果没有更多信息,则很难知道。在开始写博客之前,请务必阅读并理解Octopress的文档。