Ruby 3.3.6 availability

I'm trying out Cloudflare Pages for a Jekyll site that I currently have on Github Pages. When I deploy my site (which only has ruby in its .tool-versions file), I see the following output in the (failed) build logs:
15:16:58.572 Found a .tool-versions file in user-specified root directory. Installing dependencies.
15:16:59.120 bun 1.1.33 is already installed
15:16:59.212 dart-sass-embedded 1.62.1 is already installed
15:16:59.308 golang 1.21.0 is already installed
15:16:59.404 hugo extended_0.118.2 is already installed
15:16:59.500 nodejs 18.17.1 is already installed
15:16:59.594 python 3.11.5 is already installed
15:16:59.615 python 2.7.18 is already installed
15:16:59.829 Version not found
15:16:59.829
15:16:59.829 If this is a new Ruby version, you may need to update the plugin:
15:16:59.829 asdf plugin update ruby
15:16:59.837 Error: Exit with error code: 1
15:16:59.837 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
15:16:59.837 at Object.onceWrapper (node:events:652:26)
15:16:59.837 at ChildProcess.emit (node:events:537:28)
15:16:59.837 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
15:16:59.845 Failed: build command exited with code: 1
15:17:00.646 Failed: error occurred while running build command
15:16:58.572 Found a .tool-versions file in user-specified root directory. Installing dependencies.
15:16:59.120 bun 1.1.33 is already installed
15:16:59.212 dart-sass-embedded 1.62.1 is already installed
15:16:59.308 golang 1.21.0 is already installed
15:16:59.404 hugo extended_0.118.2 is already installed
15:16:59.500 nodejs 18.17.1 is already installed
15:16:59.594 python 3.11.5 is already installed
15:16:59.615 python 2.7.18 is already installed
15:16:59.829 Version not found
15:16:59.829
15:16:59.829 If this is a new Ruby version, you may need to update the plugin:
15:16:59.829 asdf plugin update ruby
15:16:59.837 Error: Exit with error code: 1
15:16:59.837 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
15:16:59.837 at Object.onceWrapper (node:events:652:26)
15:16:59.837 at ChildProcess.emit (node:events:537:28)
15:16:59.837 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
15:16:59.845 Failed: build command exited with code: 1
15:17:00.646 Failed: error occurred while running build command
I can roll my ruby version back to something older, but ruby 3.3.6 was released about a month ago - how long does it typically take for new versions to be available on Cloudfront Pages?
1 Reply
Felipe
Felipe3w ago
Hello! I just got here while searching with the same problem. So far, I have found that there is usually a ~6 month wait based on what I have found in other posts from other users with the same error as you and I. If I don't set a fixed Ruby version for my Pages deployment it works because it uses whatever default they have, but if I set a particular version, I need to trial and error to see what version the build image will like. This wouldn't be as big of a problem if the docs said what versions are currently supported, but currently they say they support "Any version" of Ruby even "versions newer than the Default version" https://developers.cloudflare.com/pages/configuration/build-image/ I saw users in the exact same situation on the Cloudflare Community forum, so you are not alone! haha
Cloudflare Docs
Build image · Cloudflare Pages docs
Cloudflare Pages' build environment has broad support for a variety of languages, such as Ruby, Node.js, Python, PHP, and Go.

Did you find this page helpful?