Ruby 3.3.4 Issue

I followed the docs to update to Ruby 3.3.4 (I know it was just released today). But it seems to be having an issue with running some of render’s scripts. It appears to be installing the version, correctly, but maybe trying multiple times?

And maybe it’s not actually installing and rolling to 3.3.1 instead?

Any ideas to try?

checking for ruby... /home/render/envwrappers/ruby

Jul 9 12:22:38 PM/opt/render/project/rubies/ruby-3.3.4/bin/ruby: No such file or directory

Jul 9 12:22:38 PM/tmp/render.ruby.env: line 1: syntax error near unexpected token `>'

Jul 9 12:22:38 PM/tmp/render.ruby.env: line 1: `export PATH=/opt/render/project/.gems/bin:/opt/render/project/rubies/ruby-3.3.1/lib/ruby/gems/3.3.0/bin:>>> Installing ruby 3.3.4 into /opt/render/project/rubies/ruby-3.3.4 ...'

Jul 9 12:22:38 PM/home/render/envwrappers/gem: eval: line 80: syntax error near unexpected token `>'

Jul 9 12:22:38 PM/home/render/envwrappers/gem: eval: line 80: `PATH=/opt/render/project/.gems/bin:/opt/render/project/rubies/ruby-3.3.1/lib/ruby/gems/3.3.0/bin:>>> Updating ruby versions ... >>> Installing ruby 3.3.4 into /opt/render/project/rubies/ruby-3.3.4 ... >>> Downloading https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.xz into /tmp ... >>> Verifying ruby-3.3.4.tar.xz ... >>> Extracting ruby-3.3.4.tar.xz to /tmp/ruby-3.3.4 ... >>> Configuring ruby 3.3.4 ... checking for ruby... /home/render/envwrappers/ruby /opt/render/project/rubies/ruby-3.3.4/bin:/opt/render/project/.gems/bin:/opt/render/project/rubies/ruby-3.3.1/lib/ruby/gems/3.3.0/bin:/opt/render/project/rubies/ruby-3.3.1/bin:/opt/render/project/.gems/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin gem 'update' '--system' '3.4.22' '--no-document''

Jul 9 12:22:38 PM/tmp/render.ruby.env: line 1: syntax error near unexpected token `>'

Jul 9 12:22:38 PM/tmp/render.ruby.env: line 1: `export PATH=/opt/render/project/.gems/bin:/opt/render/project/rubies/ruby-3.3.1/lib/ruby/gems/3.3.0/bin:>>> Installing ruby 3.3.4 into /opt/render/project/rubies/ruby-3.3.4 ...'

Jul 9 12:22:38 PM/home/render/envwrappers/gem: eval: line 80: syntax error near unexpected token `>'

Jul 9 12:22:38 PM/home/render/envwrappers/gem: eval: line 80: `PATH=/opt/render/project/.gems/bin:/opt/render/project/rubies/ruby-3.3.1/lib/ruby/gems/3.3.0/bin:>>> Updating ruby versions ... >>> Installing ruby 3.3.4 into /opt/render/project/rubies/ruby-3.3.4 ... >>> Downloading https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.xz into /tmp ... >>> Verifying ruby-3.3.4.tar.xz ... >>> Extracting ruby-3.3.4.tar.xz to /tmp/ruby-3.3.4 ... >>> Configuring ruby 3.3.4 ... checking for ruby... /home/render/envwrappers/ruby /opt/render/project/rubies/ruby-3.3.4/bin:/opt/render/project/.gems/bin:/opt/render/project/rubies/ruby-3.3.1/lib/ruby/gems/3.3.0/bin:/opt/render/project/rubies/ruby-3.3.1/bin:/opt/render/project/.gems/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin gem 'install' '--silent' 'bundler:2.5.11''

Jul 9 12:22:39 PM==> Running build command './bin/render/build-worker'...

Jul 9 12:22:39 PM+ ./bin/bundle install
1 Like

Render doesn’t support Ruby 3.3.4 yet in its native environment. We support up to Ruby 3.3.3, which is also the default version as of 2024-06-13.

Thanks Danny. I can be patient.

  • Ruby 3.3.0 was released 2023-12-25 and was default on Render 2024-03-18 (84 days later)
  • Ruby 3.3.1 was released 2024-04-23 and was default on Render 2024-04-23 (0 days later)
  • Ruby 3.3.2 was released 2024-05-30 and was default on Render 2024-06-03 (4 days later)
  • Ruby 3.3.3 was released 2024-06-12 and was default on Render 2024-06-13 (1 day later)
  • Ruby 3.3.4 was released 2024-07-09 and will be default on Render TBD

Unclear from the documentation of relationship between “available in the native environment” and “default on Render.”

Does the Render team have a general timeframe that they like to support new version in the native environment that they target? Also, is there a difference between “available in the native environment” and “default on Render”?

We’ll be including Ruby 3.3.4 in the native environment and as the default version within the next couple of days.

We try to get patch versions out fairly quickly, but wait a bit more time on minor or major versions. There isn’t a list of criteria we can provide as to how long we wait for minor or major versions.

Each default runtime uses a recent, actively supported version of its associated language. When a version is available, it means you can choose the one you want by setting it (e.g. setting an environment variable).

Thanks Danny.

Setting Your Ruby Version – Render Docs says 3.3.4 is live now. Just deployed and I’m rockin’

Thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.