All Ruby versions in Cloudflare pages
This post originally started as a rant: until late February, Cloudflare Pages’ documentation stated to support any Ruby version (or Python, Node.js, etc.), but didn’t really.
Although the problem was real, my post felt overly negative, not constructive,
and wrong. Instead of publishing it, I just opened an issue in
cloudflare-docs.
The maintainers have now kindly fixed the issue. Anyone can use any Ruby version in a Cloudflare Pages build. If the worker doesn’t have that version available, it will automatically download it and compile it (in which case, the build might take a bit longer).
As for me, this means I can pin my .ruby_version to one that is cached in
nixpkgs so that I can quickly start writing on low-powered devices.