Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 3.x support #636

Closed
jhunschejones opened this issue Dec 28, 2022 · 8 comments 路 Fixed by #654
Closed

Ruby 3.x support #636

jhunschejones opened this issue Dec 28, 2022 · 8 comments 路 Fixed by #654
Labels

Comments

@jhunschejones
Copy link

Summary

Ruby 3.x has been out for more than 2 years now, so I was surprised when I went to run jets new today and couldn't because there's no support for modern Ruby versions. 馃槥

I understand priorities need to be balanced when maintaining a project of this size, but it feels like it's time to bump this one up the list a little if it isn't already on top 馃槉 Thanks for helping build and maintain this awesome library. I'm excited to see it continue to push Ruby forward in the serverless age.

@tongueroo
Copy link
Collaborator

tongueroo commented Dec 28, 2022

Main reason Ruby 3 is not supported yet is because AWS Lambda doesn鈥檛 support it yet. It鈥檚 a bummer.

RE: Thanks for helping build and maintain this awesome library. I'm excited to see it continue to push Ruby forward in the serverless age.

Thanks for the kind words.

@jhunschejones
Copy link
Author

Main reason Ruby 3 is not support yet is because AWS Lambda doesn鈥檛 support it yet. It鈥檚 a bummer.

RE: Thanks for helping build and maintain this awesome library. I'm excited to see it continue to push Ruby forward in the serverless age.

Thanks for the kind words.

Thanks for the quick response @tongueroo! Apologies, I did not realize lambda doesn't support 3.x yet 馃槄 Hopefully this closed issue can serve as an answer to future folks who have this same question at least. 馃檹馃徎

@Jengah
Copy link

Jengah commented Apr 25, 2023

Seems like this could probably be re-opened with the recent news of container base image support of Ruby 3.2 in Lambda: aws/aws-lambda-base-images#54 (comment)

@tongueroo
Copy link
Collaborator

@Jengah Got me excited. Sadly, its only for the lambda container base image. It's not yet rolled out to AWS Lambda itself officially. The AWS console still shows Ruby 2.7 only.

Screenshot 2023-04-25 at 1 57 21 PM

I checked 2 regions: us-east-1 and us-west-2. Seems like AWS is getting closer ready. Guessing they updated the lambda container image in preparation for it. Will look at adding 3.2 support once it's officially released.

Also, saw that AWS also released python 3.1 recently. So Ruby 3.2 hopefully is close 馃

@Jengah
Copy link

Jengah commented Apr 25, 2023

Sorry for the false excitement. As the comment mentions the AWS managed framework runtime should be available within 90 days of the announcement, with 2.7 support lasting 6 months past the General Availability release of the Ruby 3.2 runtime for some roadway to get migrated.

I was more pointing out that preliminary testing could be done using a the supported base container as a custom runtime, but the official managed runtime should be out in the next 60 days or so and may not be worth the effort.

@tongueroo
Copy link
Collaborator

Awesome. Appreciate the heads up!

@tongueroo tongueroo mentioned this issue May 27, 2023
3 tasks
@tongueroo
Copy link
Collaborator

Done in #654 馃帀 Blog Post: Jets v4 Release: Ruby 3.2 Support

@tongueroo
Copy link
Collaborator

Looks like AWS is ghost-testing Ruby 3.2 support for AWS Lambda. Ruby 3.2 does not show up in the AWS console, but you're able to deploy with the Ruby 3.2 runtime via CloudFormation. Was able to deploy a jets v4 app with ruby 3.2 successfully without the use of custom runtime. 馃帀

aws lambda ruby 3 2

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

Successfully merging a pull request may close this issue.

3 participants