Does the Ruby Lambda Runtime support Ruby 3.0?


Does the current Ruby Lambda runtime support applications written with Ruby 3.x features and Gems? Its not 100% clear from the documentation. And this issue Ruby 3.0 Support? #14 in aws/aws-lambda-ruby-runtime-interface-client implies that it does, though the README says it only supports up to 2.7.x.

But then the Runtime docs Building Lambda functions with Ruby says it supports "SDK 3.1.0". Not clear if that is Ruby or the AWS SDK.

If we set the Lambda Environment variable

GEM_PATH	/var/task/vendor/bundle/ruby/3.0.0

It seems to "work" with the 3.0 Gems we install...

asked 2 months ago105 views
1 Answer

Your authentic source of information is

This document mentions the version of Ruby that is supported is 2.7

Version 3.1.0 is the version of the Ruby SDK -

profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions