You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Ruby 2.5 is on its way out, I am hoping that at some point in time there is an official Ruby 3.0 Runtime. Am I correct that this runtime interface will have to be updated at well? I ran the unit tests and only saw this one time format error.
If Ruby 3x support is not imminent, any pointers on building a custom ruby 3 runtime?
Ruby 2.7 is EOL in 3 months. Ruby 3.0 was released GA two years ago. I hesitate to throw my hands up and say we're not getting Ruby 3.x support for our Lambda functions, but it certainly seems like if it was going to be a thing it should have been done by now.
Two years after the GA release I think we can safely agree that Ruby 3.0 isn't bleeding edge. I also understand that NodeJS and Python are all the rage (and there's nothing wrong with Python), but I have to imagine that we're far from alone in being a mostly Ruby shop because we're a Chef shop - which naturally means also doing most of our non-chef work in Ruby.
I can confirm this gem works fine with any modern Ruby I have thrown at it. We use the Ruby RIC for all our K8s images to get EventBridge rules. I also updated the Rails on Lambda (Lamby) cokoiecuter project using Debian images with the RIC on Ruby 3.1, works great. rails-lambda/lamby-cookiecutter#21
Hello Everyone!
Recently in my team we were planning to upgrade all our serverless app from ruby 2.7 (native runtime) to 3.2 (using docker container), however we recently received an email from AWS Support saying that they will add native runtime support for Ruby 3.2 at the end of Q2 2023.
In the same way, I want to share with you a simple HelloWorld project using AWS SAM, Rbenv + Ruby 3.2.1 and Docker, hope it helps to someone that will decide to still use this approach instead to wait the native support
Activity
djpate commentedon Jul 26, 2021
We've been using it on prod. No issues so far.
jstefek commentedon May 23, 2022
When using with ruby 3.1 I get following error after the execution of my function finishes:
so I had to set Retry attempts to 0 for the lambda.
Seems like monkey patch as mentioned here: #15 works.
I had to add to my handler following:
rberger commentedon Sep 29, 2022
I'm not clear if the current lambda runtime does support Ruby 3.x or not. This thread seems to be saying it does, but the README says:
rberger commentedon Nov 17, 2022
Will there ever be Ruby 3.x support?
rberger commentedon Dec 1, 2022
If Ruby 3x support is not imminent, any pointers on building a custom ruby 3 runtime?
rjhornsby commentedon Dec 2, 2022
Ruby 2.7 is EOL in 3 months. Ruby 3.0 was released GA two years ago. I hesitate to throw my hands up and say we're not getting Ruby 3.x support for our Lambda functions, but it certainly seems like if it was going to be a thing it should have been done by now.
Two years after the GA release I think we can safely agree that Ruby 3.0 isn't bleeding edge. I also understand that NodeJS and Python are all the rage (and there's nothing wrong with Python), but I have to imagine that we're far from alone in being a mostly Ruby shop because we're a Chef shop - which naturally means also doing most of our non-chef work in Ruby.
metaskills commentedon Dec 4, 2022
I can confirm this gem works fine with any modern Ruby I have thrown at it. We use the Ruby RIC for all our K8s images to get EventBridge rules. I also updated the Rails on Lambda (Lamby) cokoiecuter project using Debian images with the RIC on Ruby 3.1, works great. rails-lambda/lamby-cookiecutter#21
Hope that helps!
dimasusername commentedon Feb 16, 2023
Ruby 3 aside, we desperately need a fresh release, monkey-patching fixes as mentioned here (kudos to @jstefek) is not the way to go
wildodecisiv commentedon Mar 2, 2023
Hello Everyone!
Recently in my team we were planning to upgrade all our serverless app from ruby 2.7 (native runtime) to 3.2 (using docker container), however we recently received an email from AWS Support saying that they will add native runtime support for Ruby 3.2 at the end of Q2 2023.
In the same way, I want to share with you a simple HelloWorld project using AWS SAM, Rbenv + Ruby 3.2.1 and Docker, hope it helps to someone that will decide to still use this approach instead to wait the native support
https://github.com/wildomonges/lambda-ruby3.2-container-image
Kind Regards!
Re-enable code
romiras commentedon Oct 12, 2024
Despite a request for Ruby 3 support being made a long time ago, this issue is no longer relevant since Ruby 3 is unfortunately EOL.
rjhornsby commentedon Oct 12, 2024
To be more specific, Ruby 3.0 is deprecated. Ruby 3.x isn't going anywhere and is active development, with 3.3 being current.
https://endoflife.date/ruby
mullermp commentedon Feb 21, 2025
This should be resolved with https://rubygems.org/gems/aws_lambda_ric and the latest main branch.