我在我的机器上安装了ruby版本1.9.3,并且正在为我的个人网站开发一个octopress项目。我为我的gems使用了rvm,并遵循了octopress.org记录的所有步骤。但是我在我的rake服务器中发现了一些错误。这是我的命令日志。Tin-Aung-Linn:octopresstal$ruby--versionruby1.9.3p448(2013-06-27revision41675)[x86_64-darwin12.4.0]Tin-Aung-Linn:octopresstal$rakegenerate##GeneratingSitewithJekyllidenticals
我正在尝试在我的Windows上安装Octopress。根据他们关于website的教程.但是当我输入命令时rakeinstall它给了我以下错误C:\DocumentsandSettings\admin\octopress>rakeinstallrakeaborted!Youhavealreadyactivatedrake0.9.2.2,butyourGemfilerequiresrake0.9.2.Usingbundleexecmaysolvethis.(Seefulltracebyrunningtaskwith--trace)正如错误所说,我需要安装rake0.9.2我尝试使用以
我遵循了OctopressDocumentation中的所有说明:sddhrthrt@thinkpad:~/octopress$rakegenerate##GeneratingSitewithJekylldirectorysource/stylesheets/createsource/stylesheets/screen.cssConfigurationfrom/home/sddhrthrt/octopress/_config.yml/home/sddhrthrt/octopress/plugins/pygments_code.rb:5:warning:alreadyinitializ
我使用Octopress作为我的博客引擎。这是完美的。但是如果帖子很多,比如400+,生成速度就很慢了。那么,有什么方法可以加快Jekyll/Octopress的生成速度吗?谢谢。 最佳答案 显然,如果您只处理一篇文章,则无需等待整个站点生成。您正在寻找的是rakeisolate[partial_post_name]任务。使用rakeisolate,您可以仅“隔离”您正在处理的帖子,并将所有其他帖子移至source/_stash文件夹。partial_post_name参数只是帖子文件名中的一些单词。例如,如果我想将帖子与前面的示例
菜鸟,我正在尝试安装octopress,但是当我运行rbenvexecbundleinstall时出现此错误。Gem::Ext::BuildError:ERROR:Failedtobuildgemnativeextension.currentdirectory:/home/idiot/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/yajl-ruby-1.2.1/ext/yajl/home/idiot/.rbenv/versions/2.4.0/bin/ruby-r./siteconf20170227-4161-uizrqn.rbextco
我正在使用Octopress3,当我运行jekyllbuild时,它会生成正确的文件集(包括我的静态文件,请参阅下面的文件列表):$cd_site:_site$ls-a.CNAMEassetsgoogle2d8.htmlindex-alternative.html..aboutblogincrease-revenue.htmlindex.html请注意,我的整个jekyll生成的blog现在都安全地存储在\blog\中,这正是我想要的。但是一旦我执行octopressdeploy,它就会覆盖整个文件夹(这也会覆盖我现有的静态文件),请参见下面的list:$cd_site:_site$l
我正在尝试将octopress推送到github页面,到目前为止一切正常,但是当我在显示octopress文件后执行rakedeploy命令时,出现以下错误Togit@github.com:rukshn/rukshn.github.io.git![rejected]master->master(non-fast-forward)error:failedtopushsomerefsto'git@github.com:rukshn/rukshn.github.io.git'hint:Updateswererejectedbecausethetipofyourcurrentbranchisb
我想在我的电脑上安装Octopress。我试着这样做Octopressdocument.当我运行时bundleinstall我收到错误信息AnerroroccuredwhileinstallingRedCloth(4.2.9),andBundlercannotcontinue.Makesurethat`geminstallRedCloth-v'4.2.9'`succeedsbeforebundling.所以,我跑sudogeminstallRedCloth-v'4.2.9'然后,我又收到一条错误信息:ERROR:ErrorinstallingRedCloth:ERROR:Failedt
我在我的windows(windows8x64)上成功安装了octopress,然后我创建了一个名为wenliangcan.github.com的repo,并尝试在github上部署一个博客。当我键入命令rakesetup_github_pages并输入存储库url时,出现错误:rakeaborted!Nosuchfileordirectory-gitremote-v在输入存储库url之前,它给了我一个这样的例子:Entertheread/writeurlforyourrepository(Forexample,'git@github.com:your_username/your_us
我不是在寻找一种方法来linktoYoutube.我想引用一个自托管的mp4文件。我已经有了{%audiomy-file.mp3%}工作。我正在寻找等效的{%videomy-file.mp4%}.如果我使用直接,我收到错误“液体异常:my-text.md中的未知标签‘视频’”。编辑:我认为有一个现有的Octopressplugin.但是我如何安装它/让Jekyll知道它? 最佳答案 要使用Octopress插件,只需保存videotagplugin在_plugins文件夹中。 关于htm