2012-06-26 50 views
1

我不知道這些博客帖子來自哪裏。我在Heroku上運行Jekyll,不確定/ vendor/bundle文件來自哪裏。當我在本地運行網站時,這些不在那裏。網站是m2m.io,然後點擊博客鏈接。相關的代碼片段:供應商捆綁路徑被添加到我的博客

<li class="thisBlog"><h4><span style="float:left;">18 May 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/05/18/empty-tags.html"><div class="brand-color" style="float:left;">Some Tags</div></a></h4></li> 

<li class="thisBlog"><h4><span style="float:left;">18 May 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/05/18/empty-tag.html"><div class="brand-color" style="float:left;">A Tag</div></a></h4></li> 

<li class="thisBlog"><h4><span style="float:left;">12 Mar 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/03/12/hash-%231.html"><div class="brand-color" style="float:left;">Hash</div></a></h4></li> 

<li class="thisBlog"><h4><span style="float:left;">27 Jan 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/01/27/empty-category.html"><div class="brand-color" style="float:left;">Category in YAML</div></a></h4></li> 

<li class="thisBlog"><h4><span style="float:left;">27 Jan 2009 &nbsp; </span> &raquo; <a href="/vendor/bundle/ruby/1.9.1/gems/jekyll-0.11.0/test/source/2009/01/27/empty-categories.html"><div class="brand-color" style="float:left;">Category in YAML</div></a></h4></li> 

回答

2

添加

exclude: [ Gemfile, Gemfile.lock, Procfile, vendor, gems] 

在_config.yml