Jekyll拒绝建造,即使它之前建造

问题描述 投票:1回答:1

我有一个拒绝在Github页面上构建的项目。非常奇怪的是我只在其上添加了一个谷歌分析标签,但它无法构建。

这是GitHub不构建https://github.com/ojiii/tale/commit/466b1133df9fc6a24d80ddafea686cc480b630ef的提交

这是GitHub构建https://github.com/ojiii/tale/commit/4733ac841f24b0f0e915fa171556cf2a7bfae3b7的提交

两者之间的唯一区别是我在标题上添加了Google Analytics标记。更奇怪的是,当尝试使用之前的2次提交在我的计算机上构建它时,这个提交https://github.com/ojiii/tale/commit/45e718fa3084e2552c409d8b0f1f1c047a253b13无法构建。所有失败的错误消息是There was an error parsing `Gemfile`: There are no gemspecs at C:/Users/pikachu/Documents/Workspace/tale. Bundler cannot continue. GitHub之前构建它(最新提交除外)甚至发布它。

html github web jekyll github-pages
1个回答
1
投票

要在本地调试,请使用以下命令替换Gemfile:

source "https://rubygems.org"

gem 'github-pages'

现在你将使用Github使用的相同宝石。

上述错误应该会阻止您的网站构建,因此修复该网站会使您的网站再次活跃起来。

© www.soinside.com 2019 - 2024. All rights reserved.