Any timeline for adding support for Ruby 3.3.1 in Cloudflare Pages? It was released about a week and a half ago, but your build machines don’t currently support it, failing with this error:
Version not found
If this is a new Ruby version, you may need to update the plugin:
asdf plugin update ruby
I know I’m a bit ahead of the curve here, since the release was so recent, but I’d like to know if/when this will come.
Ruby 3.3 came out almost 9 months ago so it’s surprising that Cloudflare Pages still doesn’t support it.
Are new versions of Ruby going to be supported going forward, or do Jekyll and other Ruby based static site generator users need to find alternative hosting products?
At minimum, could the docs at Language support and tools | Cloudflare Pages docs be updated to clarify that it only supports versions up to Ruby 3.2 as the “supported versions” of “any version” is misleading.
I got a successful build with 3.3.1. I notice that it appears to have built Ruby from source which does take a few minutes, but it’s nice to see it working.
Here’s some logs from it building:
21:53:30.813 Detected the following tools from environment: [email protected]
21:53:30.814 Installing ruby 3.3.1
21:53:31.244 ==> Downloading ruby-3.3.1.tar.gz...
21:53:31.250 -> curl -q -fL -o ruby-3.3.1.tar.gz https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.1.tar.gz
21:53:31.264 % Total % Received % Xferd Average Speed Time Time Time Current
21:53:31.265 Dload Upload Total Spent Left Speed
21:53:32.174
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 21.0M 100 21.0M 0 0 23.1M 0 --:--:-- --:--:-- --:--:-- 23.1M
21:53:33.026 ==> Installing ruby-3.3.1...
21:53:33.097 -> ./configure "--prefix=$HOME/.asdf/installs/ruby/3.3.1" --enable-shared --with-ext=openssl,psych,+
21:54:26.158 -> make -j 8
21:57:30.880 -> make install
21:58:09.655 ==> Installed ruby-3.3.1 to /opt/buildhome/.asdf/installs/ruby/3.3.1
I tried with Ruby 3.3.5 but unfortunately it’s still the same asdf “version not found” error.
Out of curiosity, how often are the build images updated?
I might need to do a bit more research on asdf to figure out how it’s working - but it seems it seems to be updated to get support for the latest versions of Ruby.