Pages build fails with Ruby 3.3.0

Trying to build a Jekyll site with a .ruby-version containing

3.3.0

And ruby-build seems to be failing as it has no definition for 3.3.0. Is this a matter of waiting for ruby-build to be upgraded?

2024-03-02T22:29:41.613223Z	Cloning repository...
2024-03-02T22:29:47.583787Z	From https://github.com/acarabott/arthurcarabott.com
2024-03-02T22:29:47.584347Z	 * branch            d6bde64750b2d3c7d394a2aeadab54f3b365a6f5 -> FETCH_HEAD
2024-03-02T22:29:47.584484Z	
2024-03-02T22:29:48.715641Z	HEAD is now at d6bde64 fix unlisted vimeo embeds
2024-03-02T22:29:48.716232Z	
2024-03-02T22:29:48.809991Z	
2024-03-02T22:29:48.810457Z	Using v2 root directory strategy
2024-03-02T22:29:48.840575Z	Success: Finished cloning repository files
2024-03-02T22:29:49.85346Z	Detected the following tools from environment: [email protected]
2024-03-02T22:29:49.854298Z	Installing ruby 3.3.0
2024-03-02T22:29:50.10014Z	ruby-build: definition not found: 3.3.0
2024-03-02T22:29:50.108343Z	Error: Exit with error code: 1
2024-03-02T22:29:50.108605Z	    at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
2024-03-02T22:29:50.108808Z	    at Object.onceWrapper (node:events:652:26)
2024-03-02T22:29:50.108962Z	    at ChildProcess.emit (node:events:537:28)
2024-03-02T22:29:50.109087Z	    at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2024-03-02T22:29:50.118513Z	Failed: build command exited with code: 1
2024-03-02T22:29:51.056463Z	Failed: error occurred while running build command
3 Likes

I am also facing the same issue.

1 Like

Same here… using the latest version.
gonna try to downgrade to 2.X

Same issue here, rolling back to 3.1.3 (the current example from the doc) works.