Skip to content

Add support ruby 3.3 #1852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

naomichi-y
Copy link

Description

Add support for Ruby 3.3 in serverless-offline.

Motivation and Context

Currently, when running Serverless Framework with Ruby 3.3, serverless-offline fails with the following error:

Warning: Warning: found unsupported runtime 'ruby3.3' for function 'xxx'
× Unsupported runtime

Note that support for Ruby 3.3 in the Serverless Framework has been proposed but has not yet been merged. The corresponding PR is available here:
serverless/serverless#12420

How Has This Been Tested?

I have confirmed that an application using Ruby 3.3 runs successfully in Serverless Offline.

Screenshots (if appropriate):

@DorianMazur
Copy link
Collaborator

DorianMazur commented Mar 1, 2025

  1) Ruby 3.3 with Docker tests
       "before each" hook for "should work with ruby3.3 in docker container":
     Error: serverless offline crashed
      at ChildProcess.<anonymous> (file:///home/runner/work/serverless-offline/serverless-offline/tests/_testHelpers/setupTeardown.js:60:16)
      at ChildProcess.emit (node:events:517:28)
      at maybeClose (node:internal/child_process:1098:16)
      at ChildProcess._handle.onexit (node:internal/child_process:303:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants