Change:
[build.environment] HUGO_VERSION = "0.70.0" NODE_VERSION = "10.20.0" <ins> RUBY_VERSION = "2.7.1" </ins> [context.production.environment] HUGO_BASEURL = "https://kubernetes.io/"

Discussion:
Hugo warns that it's unnecessarily slow due to an outdated Ruby version. Given that we don't currently specify a Ruby version in , Netlify may be defaulting to an earlier version for maximum breadth of support. (Just a guess!) Slow builds scale poorly. Follow Netlify's advice and specify a Ruby version (are folks OK with 2.7.1?) in : It's a straightforward addition, so anyone can do it, including first-time contributors. Note that this counts as an architectural change, and architectural changes require approval from chairs or tech leads. /sig docs /good-first-issue /cc /priority important-soon
This request has been marked as suitable for new contributors. Please ensure the request meets the requirements listed . If this request no longer meets these requirements, the label can be removed by commenting with the command. <detailsIn response to : ### What's the problem? /good-first-issue /assign /priority important-soon Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details
What are the Ruby dependencies? Is this something that should be set higher up?
I think is as high as our hierarchy gets. As far as dependencies--good question, I honestly don't know off the top of my head. We don't have any obvious dependencies or invocations in the repo. The only thing that comes to mind is a hidden Netlify dependency.
Yes, what library is dependent on Ruby? Guessing one of the post processors, but need to understand why. I thought all post processing used Javascript.
A post processor would make sense.
I'd like this resolved sooner than later. Preview builds are not snappy.
AFAIK the only external processor used by hugo is which are both javascript. I'm pretty sure they have the old version of ruby in there to support older versions of jekyll.
OK. How does this affect the current build if there are no dependencies on Ruby?
I have no idea where it's picking 2.3.6 from I did a little more digging and Netlify's default is 2.6.2 for and 2.7.1 for . I have no idea where it's picking up that version of ruby. I did a search for and didn't find anything.

I also didn't see anything in the env vars defined in netlify's site itself for it.
Ubuntu Xenial 16.04 (default) appears to be set. Meant to say that there is an option (beta) to switch the build-image.
, Q: Where did you see this warning? I'd rather not have a local setting for a language that is not directly used. Can we check back with netlify?
I see it in every build where Ruby isn’t already cached. (Cached builds still use 2.3.6.)
OK. Just trawled through previous netlify discussions.That warning seems to happen in a number of instances Is the search for the ruby installer the problem or something else? Checking out,
Also, should the site add, ? I assume this isn't automatically picked up from the theme directory. build cmd from theme: command = "git submodule update -f --init && cd userguide && npm install postcss-cli && hugo --themesDir ../.." from theme differs from current docs:
Good question--let's open a separate issue for that discussion.
Nothing stands out in template metrics locally. Given that Hugo warns that older versions of Ruby will cause slow builds, it seems reasonable to infer that the search/install process isn't helping.
Created .
Relevant to after testing Ruby with , it looks like Ruby is less responsible for slow builds than post processing, which appears responsible for over 50% of the build time. ,