Gem overrides stylesheet after regenerating site
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- ruby
- Domínio
- build-system
Direção de pesquisa
Comece com a entrada do Gemfile para github-pages e a reprodução de assets/css/style.css; depois execute bundle exec jekyll serve e acione a regeneração editando index.html. Está concluído quando o novo conteúdo da landing page aparece, enquanto a folha de estilos do site continua sendo usada em vez de ser sobrescrita por uma folha de estilos de tema incluída no bundle.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
When github-pages is listed under the group :jekyll_plugins in the Gemfile, then on regeneration, a site has its assets/css/style.css overridden by one bundled with one of the themes in the gem.
This issue came to my notice while investigating jekyll/jekyll#7854.
This issue affects
- The site generated by GitHub Pages
maybe.. maybe not.. - Building sites locally
Steps to reproduce
- Set up a Jekyll site with at least the following:
- Gemfile
source 'https://rubygems.org' gem 'github-pages', group: :jekyll_plugins assets/css/style.csswith the following:h1 { color: red }- An
index.htmlthat uses the above stylesheet. (either via a layout or directly)<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <title>Test Site</title> <link rel="stylesheet" href="/assets/css/style.css" /> </head> <body> <h1>Hello World</h1> </body> </html>
- Gemfile
- Serve the site locally and preview at
http://localhost:4000/bundle exec jekyll serve - Trigger a regeneration by just adding content to the landing page.
<h1>Hello World</h1> + <p>Lorem ipsum dolor sit amet</p>
What did you expect to happen?
Expected the landing page to be rendered with the new content.
What happened instead?
The following would illustrate better:
Before regeneration:

After regeneration:

- Linguagem predominante
- Ruby
- Estrelas
- 1.9k
- Forks
- 362
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/pages-gem
-
Outdated dependencies will cause problem with end of Node.js 20 supportTalvez já em andamento @gruenich assumiu há 28 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
-
GitHub PagesAberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
-
CVE-2026-85396 rubyzip path traversal vulnerabilityTalvez já em andamento @benbalter assumiu há 26 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
-
Serving SQLite database files with sql.js-httpvfs broken due to gzip encoding on HEAD requestsAberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
Todas as issues de github/pages-gem
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
TheOdinProject/curriculum#31493 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
rmosolgo/graphql-ruby#5843 ·
Mantenedores costumam responder em até 1 dia
-
Liens externes cassésAberta
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 66/100
betagouv/conseillers-entreprises#4770 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
seek4science/seek#2762 ·
Mantenedores costumam responder em até 5 dias