ruby / ruby/www.ruby-lang.org

Site takes forever to generate

Open
#904 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
944
Forks
673
Avg merge
2d 6h
Merged PRs (30d)
9

Description

Maybe because of the size of the site, or we're doing something wrong.. but the site takes around 2 minutes to generate on my laptop; and has made previewing changes a nightmare:

~/code/www.ruby-lang.org => time be rake generate
Configuration file: /Users/zzak/code/www.ruby-lang.org/_config.yml
Building site: /Users/zzak/code/www.ruby-lang.org -> /Users/zzak/code/www.ruby-lang.org/_site

real    1m57.546s
user    1m54.124s
sys     0m2.432s

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report with rake generate and inspect _config.yml and the generated-site workflow first. Use the reported roughly two-minute run as the baseline; done means site generation is materially faster and previewing changes is practical, since the issue gives no target time or named failing test.

Written by the indexing model from the issue text.

Assessment

Tech stack
jekyll, ruby
Domain
build-system, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.