serverless-offline
serverless-offline copied to clipboard
Add support ruby 3.3
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: https://github.com/serverless/serverless/pull/12420
How Has This Been Tested?
I have confirmed that an application using Ruby 3.3 runs successfully in Serverless Offline.
Screenshots (if appropriate):
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)