关于网友提出的“求助:使用Octopress与github搭建博客时,关联github repository出错”问题疑问,本网通过在网上对“求助:使用Octopress与github搭建博客时,关联github repository出错”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题:求助:使用Octopress与github搭建博客时,关联github repository出错
描述:安装好Octopress后,
rake git@github.com:username/username.github.com.git
但是报错,错误如下:
rake aborted!
Don't know how to build task 'git@github.com:username/username.github.com.git'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:1720:in `[]'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2040:in `invoke_task'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels) in top_level'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `each'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in `block in top_level'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2013:in `top_level'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:1992:in `run'
c:/Ruby192/bin/rake:31:in `'
其中,username为github中对应的用户id
请指教
解决方案1:我估计你到了设置github的步骤,应该是 rake setup_github_pages ,然后是根据提示输入你的github地址,就是你上面说的
git@github.com:username/username.github.com.git
解决方案2:我在配置安装bundler的时候也出问题了,你前面都没有出问题吗
解决方案3:有木有人啊,搞了一天了。就纠结这个问题了。

以上介绍了“求助:使用Octopress与github搭建博客时,关联github repository出错”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/1478099.html