-
Notifications
You must be signed in to change notification settings - Fork 32
json gem v2.9 incompatibility with ruby 3.3 runtime #36
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
Comments
Hey I am also getting the same error on my ruby 3.3 Lambda
But upon checking more logs I am also getting an initialization error as
Wanted to know if you were able to fix it |
I started seeing this issue yesterday on Lambda's we deployed readme updates to. e.g. no code changes. Ruby 3.3.0 runtime with no reference to "json" in the Gemfile, explicitly adding version 2.5.0 resolved the issue.
Curious as to how this breaks all of a sudden, we have cached build assets so this is 100% a Lambda problem. |
The gem does not declare any dependency on the json gem - it is bundled with your installation in ruby. Both of the stack traces are different - one is actually for the AWS SDK and the other in Lambda. I'm inclined to believe this is related to Ruby 3.3 and JSON 2.9. Can you try using the latest |
While executing test event in AWS Lambda console for a Ruby 3.3 lambda function, which bundles the
json
gem version 2.9 (bundled via MailchimpTransactional) I get the following error:Using
json
gem version 2.5.1 with 3.2 ruby runtime works fine.The text was updated successfully, but these errors were encountered: